[Notice] Announcing the End of Demo Server [Read me]
usermenu: Show user account's project list at any cases
@4dea4fee1c0004411aadc540fb67a16c6b01b3a6
--- app/views/index/myOrganizationList.scala.html
+++ app/views/index/myOrganizationList.scala.html
... | ... | @@ -8,7 +8,7 @@ |
8 | 8 |
@import utils.TemplateHelper._ |
9 | 9 |
|
10 | 10 |
@displayOrganizations(title:String, organizations:List[Organization], favoredOrganizations:List[Organization], isActive:Boolean = false) = { |
11 |
- @if(organizations.isEmpty && favoredOrganizations.isEmpty) { |
|
11 |
+ @if(organizations.isEmpty && favoredOrganizations.isEmpty && UserApp.currentUser().ownProjects.isEmpty) { |
|
12 | 12 |
<div id="@title" class="no-result tab-pane user-ul @if(isActive) {active}">@Messages("title.no.results")</div> |
13 | 13 |
} else { |
14 | 14 |
<ul class="tab-pane user-ul @if(isActive) {active}" id="@title"> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?