summaryrefslogtreecommitdiff
path: root/app/helpers/projects_helper.rb
diff options
context:
space:
mode:
authorPhil Hughes <theephil@gmail.com>2015-03-26 19:38:20 +0000
committerPhil Hughes <theephil@gmail.com>2015-03-26 19:38:20 +0000
commit91b108192c84178ec100ece41f159b68738f1a32 (patch)
tree2d9eb5a9733411e44a04884c13b635c3419c440f /app/helpers/projects_helper.rb
parent090f2344ecb6631b20df5853045536f1eb0589d3 (diff)
downloadgitlab-ce-91b108192c84178ec100ece41f159b68738f1a32.tar.gz
Fork/Star button re-design
Diffstat (limited to 'app/helpers/projects_helper.rb')
-rw-r--r--app/helpers/projects_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 7bf51b5b8e8..f535b01b2ec 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -81,7 +81,7 @@ module ProjectsHelper
end
def link_to_toggle_star(title, starred, signed_in)
- cls = 'star-btn'
+ cls = 'star-btn btn btn-primary'
cls << ' disabled' unless signed_in
toggle_html = content_tag('span', class: 'toggle') do
@@ -120,7 +120,7 @@ module ProjectsHelper
def link_to_toggle_fork
out = icon('code-fork')
out << ' Fork'
- out << content_tag(:span, class: 'count') do
+ out << content_tag(:span, class: 'count btn-action-count') do
@project.forks_count.to_s
end
end