##// END OF EJS Templates
main-page: simplify footer, and expose docs link.
marcink -
r4375:ff491385 stable
parent child Browse files
Show More
@@ -158,7 +158,7 b' class TestHomeController(TestController)'
158 ('Enabled', True),
158 ('Enabled', True),
159 ])
159 ])
160 def test_index_show_version(self, autologin_user, name, state):
160 def test_index_show_version(self, autologin_user, name, state):
161 version_string = 'RhodeCode Enterprise %s' % rhodecode.__version__
161 version_string = 'RhodeCode %s' % rhodecode.__version__
162
162
163 sett = SettingsModel().create_or_update_setting(
163 sett = SettingsModel().create_or_update_setting(
164 'show_version', state, 'bool')
164 'show_version', state, 'bool')
@@ -112,6 +112,13 b' input + .action-link, .action-link.first'
112 cursor: inherit;
112 cursor: inherit;
113 }
113 }
114
114
115 .grey-link-action {
116 cursor: pointer;
117 &:hover {
118 color: @grey2;
119 }
120 color: @grey4;
121 }
115
122
116 .clipboard-action {
123 .clipboard-action {
117 cursor: pointer;
124 cursor: pointer;
@@ -50,18 +50,27 b''
50 <div id="footer">
50 <div id="footer">
51 <div id="footer-inner" class="title wrapper">
51 <div id="footer-inner" class="title wrapper">
52 <div>
52 <div>
53 <% sid = 'block' if request.GET.get('showrcid') else 'none' %>
54
53 <p class="footer-link-right">
55 <p class="footer-link-right">
56 <a class="grey-link-action" href="${h.route_path('home', _query={'showrcid': 1})}">
57 RhodeCode
54 % if c.visual.show_version:
58 % if c.visual.show_version:
55 RhodeCode Enterprise ${c.rhodecode_version} ${c.rhodecode_edition}
59 ${c.rhodecode_version}
56 % endif
60 % endif
57 &copy; 2010-${h.datetime.today().year}, <a href="${h.route_url('rhodecode_official')}" target="_blank">RhodeCode GmbH</a>. All rights reserved.
61 ${c.rhodecode_edition}
62 </a> |
63
58 % if c.visual.rhodecode_support_url:
64 % if c.visual.rhodecode_support_url:
59 <a href="${c.visual.rhodecode_support_url}" target="_blank">${_('Support')}</a>
65 <a class="grey-link-action" href="${c.visual.rhodecode_support_url}" target="_blank">${_('Support')}</a> |
66 <a class="grey-link-action" href="https://docs.rhodecode.com" target="_blank">${_('Documentation')}</a>
60 % endif
67 % endif
68
61 </p>
69 </p>
62 <% sid = 'block' if request.GET.get('showrcid') else 'none' %>
70
63 <p class="server-instance" style="display:${sid}">
71 <p class="server-instance" style="display:${sid}">
64 ## display hidden instance ID if specially defined
72 ## display hidden instance ID if specially defined
73 &copy; 2010-${h.datetime.today().year}, <a href="${h.route_url('rhodecode_official')}" target="_blank">RhodeCode GmbH</a>. All rights reserved.
65 % if c.rhodecode_instanceid:
74 % if c.rhodecode_instanceid:
66 ${_('RhodeCode instance id: {}').format(c.rhodecode_instanceid)}
75 ${_('RhodeCode instance id: {}').format(c.rhodecode_instanceid)}
67 % endif
76 % endif
General Comments 0
You need to be logged in to leave comments. Login now