summaryrefslogtreecommitdiff
path: root/app/views/common
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/common')
-rw-r--r--app/views/common/_action_buttons.html.haml6
-rw-r--r--app/views/common/_home_page_buttons.html.haml4
2 files changed, 4 insertions, 6 deletions
diff --git a/app/views/common/_action_buttons.html.haml b/app/views/common/_action_buttons.html.haml
index d00cf74..398d384 100644
--- a/app/views/common/_action_buttons.html.haml
+++ b/app/views/common/_action_buttons.html.haml
@@ -1,11 +1,11 @@
.home-buttons
.row-fluid.second
.login.span4
- %span.link= link_to(icon('ok-sign', icon_color) + t(:login), login_path, :class => 'btn')
+ %span.link= link_to icon('ok-sign') + t(:login), login_path, :class => 'btn'
%span.info= t(:login_info, default: "")
.signup.span4
- %span.link= link_to(icon('user', icon_color) + t(:signup), signup_path, :class => 'btn')
+ %span.link= link_to icon('user') + t(:signup), signup_path, :class => 'btn'
%span.info= t(:signup_info, default: "")
.help.span4
- %span.link= link_to(icon('question-sign', icon_color) + t(:support_tickets), new_ticket_path, :class => 'btn')
+ %span.link= link_to icon('question-sign') + t(:get_help), new_ticket_path, :class => 'btn'
%span.info= t(:support_info, default: "")
diff --git a/app/views/common/_home_page_buttons.html.haml b/app/views/common/_home_page_buttons.html.haml
index 8c47983..fc6348e 100644
--- a/app/views/common/_home_page_buttons.html.haml
+++ b/app/views/common/_home_page_buttons.html.haml
@@ -1,8 +1,6 @@
-- icon_color = :black
-
= render 'common/download_button'
- if local_assigns[:divider]
.row-fluid
.span12
= render local_assigns[:divider]
-= render 'common/action_buttons', icon_color: icon_color
+= render 'common/action_buttons'