Skip to content

Commit

Permalink
Update button copy for subscribed projects (#1827)
Browse files Browse the repository at this point in the history
- change to read "Already subscribed"
- Fixes #1752
  • Loading branch information
djpowers authored and andrew committed Nov 23, 2017
1 parent d0d2005 commit c7051d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/projects/_actions.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<% if logged_in? && subscription = current_user.subscribed_to?(@project) %>
<div class="btn-group pull-right-lg">
<span class='btn btn-success'>Subscribed to <%= 'stable' unless subscription.include_prerelease? %> releases</span>
<span class='btn btn-success'><i class="fa fa-check" aria-hidden="true"></i>&nbsp;Already subscribed</span>
<button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
Expand Down
4 changes: 2 additions & 2 deletions app/views/projects/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class='row'>
<div class='col-md-8'>
<div class="row">
<div class='col-md-8'>
<div class='col-md-7'>
<h1>
<%= @project %>
<br>
Expand All @@ -22,7 +22,7 @@
</small>
</h1>
</div>
<div class='col-md-4 sidebar'>
<div class='col-md-5 sidebar'>
<%= render 'projects/actions' %>
</div>
</div>
Expand Down

0 comments on commit c7051d2

Please sign in to comment.