OSDN Git Service
(root)
/
redminele
/
redmine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a2aee8
)
Don't show "Projects" label if projects list is empty.
author
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Sat, 23 Jun 2007 14:10:13 +0000
(14:10 +0000)
committer
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Sat, 23 Jun 2007 14:10:13 +0000
(14:10 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@568
e93f8b46
-1217-0410-a6f0-
8f06a7374b81
app/views/account/show.rhtml
patch
|
blob
|
history
diff --git
a/app/views/account/show.rhtml
b/app/views/account/show.rhtml
index
cadd807
..
8061489
100644
(file)
--- a/
app/views/account/show.rhtml
+++ b/
app/views/account/show.rhtml
@@
-12,6
+12,7
@@
</ul>
</p>
+<% unless @memberships.empty? %>
<h3><%=l(:label_project_plural)%></h3>
<ul>
<% for membership in @memberships %>
@@
-19,6
+20,7
@@
(<%= membership.role.name %>, <%= format_date(membership.created_on) %>)</li>
<% end %>
</ul>
+<% end %>
<h3><%=l(:label_activity)%></h3>
<p>