summaryrefslogtreecommitdiff
path: root/core/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'core/app/views')
-rw-r--r--core/app/views/common/_home_page_buttons.html.haml18
1 files changed, 18 insertions, 0 deletions
diff --git a/core/app/views/common/_home_page_buttons.html.haml b/core/app/views/common/_home_page_buttons.html.haml
new file mode 100644
index 0000000..ed70ff7
--- /dev/null
+++ b/core/app/views/common/_home_page_buttons.html.haml
@@ -0,0 +1,18 @@
+- link_class = 'btn'
+- icon_color = :black
+
+.home-buttons
+ .row-fluid.first
+ .login.span6
+ %span.link= link_to(icon('ok-sign', icon_color) + t(:login), new_session_path, :class => link_class)
+ %span.info= t(:login_info)
+ .signup.span6
+ %span.link= link_to(icon('user', icon_color) + t(:signup), new_user_path, :class => link_class)
+ %span.info= t(:signup_info)
+ .row-fluid.second
+ .download.span6
+ %span.link= link_to(icon('arrow-down', icon_color) + t(:download_client), "https://downloads.leap.se/client", :class => link_class)
+ %span.info= t(:download_client_info, :provider => content_tag(:b,APP_CONFIG[:domain])).html_safe
+ .help.span6
+ %span.link= link_to(icon('question-sign', icon_color) + t(:get_help), "/tickets/new", :class => link_class)
+ %span.info= t(:help_info)