summaryrefslogtreecommitdiff
path: root/core/app/views
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-12-19 12:17:39 -0800
committerjessib <jessib@riseup.net>2013-12-19 12:17:39 -0800
commita5fa80ca1e20591f25f63d1702a9bc134c60b9ba (patch)
treee76489f1846569d9fbda974d82ab91e6c7bbd871 /core/app/views
parentb0a00e16df0792b4ee95ed1ac015f0e23ca3793a (diff)
Put download link on user page.
Diffstat (limited to 'core/app/views')
-rw-r--r--core/app/views/common/_home_page_buttons.html.haml21
1 files changed, 11 insertions, 10 deletions
diff --git a/core/app/views/common/_home_page_buttons.html.haml b/core/app/views/common/_home_page_buttons.html.haml
index 3be12e2..8aff51e 100644
--- a/core/app/views/common/_home_page_buttons.html.haml
+++ b/core/app/views/common/_home_page_buttons.html.haml
@@ -10,13 +10,14 @@
.row-fluid
.span12
= render local_assigns[:divider]
- .row-fluid.second
- .login.span4
- %span.link= link_to(icon('ok-sign', icon_color) + t(:login), login_path, :class => 'btn')
- %span.info= t(:login_info)
- .signup.span4
- %span.link= link_to(icon('user', icon_color) + t(:signup), new_user_path, :class => 'btn')
- %span.info= t(:signup_info)
- .help.span4
- %span.link= link_to(icon('question-sign', icon_color) + t(:get_help), "/tickets/new", :class => 'btn')
- %span.info= t(:help_info)
+ - if !local_assigns[:on_user_page]
+ .row-fluid.second
+ .login.span4
+ %span.link= link_to(icon('ok-sign', icon_color) + t(:login), login_path, :class => 'btn')
+ %span.info= t(:login_info)
+ .signup.span4
+ %span.link= link_to(icon('user', icon_color) + t(:signup), new_user_path, :class => 'btn')
+ %span.info= t(:signup_info)
+ .help.span4
+ %span.link= link_to(icon('question-sign', icon_color) + t(:get_help), "/tickets/new", :class => 'btn')
+ %span.info= t(:help_info)