Skip to content

Commit

Permalink
Merge pull request #1589 from CraigTreptow/main
Browse files Browse the repository at this point in the history
Moves the "Stop Triaging" button farther up on the page
  • Loading branch information
schneems authored Nov 19, 2021
2 parents 58ef48e + ba7be33 commit 51d4960
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/views/repos/show.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ div class="subpage-content-wrapper #{ @repo.weight }"
section.content-section
= link_to "Edit this repo", edit_repo_path(@repo), class: 'button full-width-action'


- if @repo_sub
section.content-section
= link_to repo_subscription_path(@repo_sub), class: 'button stop-triaging full-width-action', method: :delete, data: { confirm: 'Are you sure?' } do
| Stop Triaging
- cache [@repo, "repo_subscribers"] do
section.avatars.content-section
h2.content-section-title
Expand Down Expand Up @@ -95,7 +100,3 @@ div class="subpage-content-wrapper #{ @repo.weight }"
.tab-content class=(@docs_pagination ? "is-open" : "")
- cache_if(!@docs_pagination, [@repo, "docs"]) do
= render partial: "docs"

- if @repo_sub
= link_to repo_subscription_path(@repo_sub), class: 'button stop-triaging full-width-action', method: :delete, data: { confirm: 'Are you sure?' } do
| Stop Triaging

0 comments on commit 51d4960

Please sign in to comment.