ref: refs/heads/master
commit d807ca07e2de21deb242e5f16f4b8d546860dc42
Author: Martin Kudlvasr
Date: Thu Jul 23 18:01:44 2009 +0200
added link to Control panel in header, separated header links
---
webclient/app/views/layouts/main.rhtml | 7 +++++--
webclient/public/stylesheets/style.css | 4 ++++
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/webclient/app/views/layouts/main.rhtml b/webclient/app/views/layouts/main.rhtml
index cec7f9d..a3b6640 100644
--- a/webclient/app/views/layouts/main.rhtml
+++ b/webclient/app/views/layouts/main.rhtml
@@ -48,8 +48,11 @@
<li><strong><%=_("Connected Host")%></strong></li>
<li><%=_("Name:")%> <strong><%= host.name -%></strong></li>
<li><%=_("User:")%> <strong><%= user -%></strong></li>
- <li><em><%= link_to _("Logout"), '/logout' %></em></li>
</ul>
+ <ul class='header-links'>
+ <li><em><%= link_to _("Control panel"), '/controlpanel'%></em></li>
+ <li><em><%= link_to _("Logout"), '/logout' %></em></li>
+ </ul>
<% end -%>
</div>
</div>
@@ -71,4 +74,4 @@
</div>
<div id="footer" class="">
- <div class="copy">© 2009 Novell, Inc.