summaryrefslogtreecommitdiffstats
path: root/app/views/my
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-22 13:17:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-22 13:17:49 +0000
commit827e998afef3a3b6eded98c9b3af1023e54fccb5 (patch)
treeec61e0b48f850b620454f95904781aeb1b0c4845 /app/views/my
parent43f583d33243b825ef493d2bebb200660835af48 (diff)
downloadredmine-827e998afef3a3b6eded98c9b3af1023e54fccb5.tar.gz
redmine-827e998afef3a3b6eded98c9b3af1023e54fccb5.zip
Application layout refactored.
The project menu is now the main menu. git-svn-id: http://redmine.rubyforge.org/svn/trunk@747 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/my')
-rw-r--r--app/views/my/account.rhtml19
-rw-r--r--app/views/my/blocks/_calendar.rhtml4
2 files changed, 13 insertions, 10 deletions
diff --git a/app/views/my/account.rhtml b/app/views/my/account.rhtml
index c884de841..8250c5298 100644
--- a/app/views/my/account.rhtml
+++ b/app/views/my/account.rhtml
@@ -1,13 +1,5 @@
<h2><%=l(:label_my_account)%></h2>
-<p><%=l(:field_login)%>: <strong><%= @user.login %></strong>
-<br /><%=l(:field_created_on)%>: <%= format_time(@user.created_on) %>
-<% if @user.rss_token %>
-<br /><%= l(:label_feeds_access_key_created_on, distance_of_time_in_words(Time.now, @user.rss_token.created_on)) %>
-(<%= link_to l(:button_reset), {:action => 'reset_rss_key'}, :method => :post %>)
-<% end %>
-</p>
-
<%= error_messages_for 'user' %>
<div class="box">
@@ -50,3 +42,14 @@
<% end %>
</div>
<% end %>
+
+<% content_for :sidebar do %>
+ <h3><%=l(:label_my_account)%></h3>
+
+ <p><%=l(:field_login)%>: <strong><%= @user.login %></strong><br />
+ <%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p>
+ <% if @user.rss_token %>
+ <p><%= l(:label_feeds_access_key_created_on, distance_of_time_in_words(Time.now, @user.rss_token.created_on)) %>
+ (<%= link_to l(:button_reset), {:action => 'reset_rss_key'}, :method => :post %>)</p>
+ <% end %>
+<% end %>
diff --git a/app/views/my/blocks/_calendar.rhtml b/app/views/my/blocks/_calendar.rhtml
index fa83b4d1d..a2d556d90 100644
--- a/app/views/my/blocks/_calendar.rhtml
+++ b/app/views/my/blocks/_calendar.rhtml
@@ -9,9 +9,9 @@
@issues ||= []
%>
-<table class="list with-cells">
+<table class="cal">
<thead><tr>
-<th></th>
+<td></td>
<% 1.upto(7) do |d| %>
<th align="center" width="14%"><%= day_name(d) %></th>
<% end %>