diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 9b39d19..adcfceb 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -109,18 +109,14 @@ module ApplicationHelper
# FIXME: uncomment "My enterprises" links
def user_links
links = [
+ ( link_to_homepage(current_user.login) ),
( link_to(_('My account'), { :controller => 'account' }) ),
- ( link_to_myprofile(_('My profile'), { :controller => 'profile_editor' }) ),
- ( link_to_homepage(_('My home page')) ),
- ( link_to_cms(_('Manage content')) ),
- ( link_to (_('Manage layout')), :controller => 'edit_template' ),
- #( link_to_myprofile(_('My enterprises'), { :controller => 'enterprise' }) ),
].join("\n")
content_tag('span', links, :id => 'user_links')
end
def header
- virtual_community_identification + "\n" + login_or_register_or_logout
+ login_or_register_or_logout
end
def login_or_register_or_logout
diff --git a/app/views/account/index.rhtml b/app/views/account/index.rhtml
index 4e05685..f3f1720 100644
--- a/app/views/account/index.rhtml
+++ b/app/views/account/index.rhtml
@@ -11,6 +11,17 @@
+<%= link_to_homepage(_('My home page.')) %>
+<%= _('See your homepage.') %>
+
+
+
+<%= link_to_homepage(_('Manage content.')) %>
+<%= _('Manage your content.') %>
+
+
+
+
<%= link_to _('Logout.'), :action => 'logout' %>
<%= _('It is always a good idea to make a logout when you finish using the virtual community.')%>
diff --git a/app/views/layouts/application.rhtml b/app/views/layouts/application.rhtml
index 911b9e1..0922032 100644
--- a/app/views/layouts/application.rhtml
+++ b/app/views/layouts/application.rhtml
@@ -106,11 +106,12 @@
+
+
- <%# %>
diff --git a/public/designs/templates/default/stylesheets/style.css b/public/designs/templates/default/stylesheets/style.css
index 9612ca4..8877017 100644
--- a/public/designs/templates/default/stylesheets/style.css
+++ b/public/designs/templates/default/stylesheets/style.css
@@ -10,12 +10,6 @@ body {
/*background: url("../images/bg_bgheader.png") repeat-x;*/
}
-#header_content {
-background: url("../images/fbes.png") 20px no-repeat;
-height: 48px;
-padding-top: 10px;
-}
-
#boxes {
position: relative;
width: 760px;
diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css
index 484d90c..b4c87b5 100644
--- a/public/stylesheets/common.css
+++ b/public/stylesheets/common.css
@@ -36,28 +36,6 @@ padding-left: 60px !important ;
color: #dfdfdf !important ;
}
-#header {
- position: relative !important;
- margin: 0px !important;
- padding: 0px !important;
- height: 35px !important;
- background: #fff url("../images/bg_blue_bar.png") bottom left repeat-x !important;
- color: #ffffff !important ;
-}
-
-
-#header a {
-display: table-cell !important ;
-height: 35px !important ;
-color: #ffffff !important ;
-font-size: 10px !important ;
-font-family: Sans-serif !important ;
-font-weight: bold !important ;
-vertical-align: middle !important ;
-padding: 0px 5px 0px 5px !important ;
-text-decoration: underline !important ;
-}
-
#user_links, #login_box {
margin-left: 290px !important ;
}
diff --git a/public/stylesheets/menu.css b/public/stylesheets/menu.css
index f0e69ee..495425b 100644
--- a/public/stylesheets/menu.css
+++ b/public/stylesheets/menu.css
@@ -21,10 +21,6 @@ padding: 0px;
z-index: 100;
}
-#content {
- margin-top: 40px;
-}
-
#noosfero_bar *:focus {
color: red !important;
}
@@ -90,7 +86,6 @@ padding: 0px;
background: #204a87 url("../images/bg_noosfero_bar.png") repeat-x;
}
-/* FIXME: add another categories */
#wrap.category1 {
border: 6px solid #204a87 !important;
}
@@ -127,7 +122,7 @@ li#category1 ul li a {
}
#wrap.category2 {
-border: 3px solid #a40000 !important;
+border: 6px solid #a40000 !important;
}
#category2 a {
@@ -157,7 +152,7 @@ li#category2.active a {
}
#wrap.category3 {
-border: 3px solid #204a87 !important;
+border: 6px solid #204a87 !important;
}
#category3 a {
@@ -192,7 +187,7 @@ li#category3 ul li a {
}
#wrap.category4 {
-border: 3px solid #a40000 !important;
+border: 6px solid #a40000 !important;
}
#category4 a {
@@ -230,4 +225,24 @@ clear: both;
}
#content {
+ margin-top: 50px;
+}
+
+#header {
+ clear: left;
+ background: #204a87;
+ padding: 3px;
+ text-align: left;
+ margin-left: -290px;
+}
+
+#header a {
+height: 35px !important ;
+color: #ffffff !important ;
+font-size: 10px !important ;
+font-family: Sans-serif !important ;
+font-weight: bold !important ;
+vertical-align: middle !important ;
+padding: 0px 5px 0px 5px !important ;
+text-decoration: underline !important ;
}
--
libgit2 0.21.2