diff options
Diffstat (limited to 'redmine/app/views/account/my_page.rhtml')
-rw-r--r-- | redmine/app/views/account/my_page.rhtml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/redmine/app/views/account/my_page.rhtml b/redmine/app/views/account/my_page.rhtml new file mode 100644 index 000000000..7f6458262 --- /dev/null +++ b/redmine/app/views/account/my_page.rhtml @@ -0,0 +1,19 @@ +<h2><%=_('My page') %></h2>
+
+<p>
+<%=_('Welcome')%> <b><%= @user.firstname %></b><br />
+<% unless @user.last_before_login_on.nil? %>
+ <%=_('Last login')%>: <%= format_time(@user.last_before_login_on) %>
+<% end %>
+</p>
+
+<div class="splitcontentleft">
+ <h3><%=_('Reported issues')%></h3>
+ <%= render :partial => 'issues/list_simple', :locals => { :issues => @reported_issues } %>
+ <%= "<p>(Last #{@reported_issues.length} updated)</p>" if @reported_issues.length > 0 %>
+</div>
+<div class="splitcontentright">
+<h3><%=_('Assigned to me')%></h3>
+ <%= render :partial => 'issues/list_simple', :locals => { :issues => @assigned_issues } %>
+ <%= "<p>(Last #{@assigned_issues.length} updated)</p>" if @assigned_issues.length > 0 %>
+</div>
\ No newline at end of file |