[Notice] Announcing the End of Demo Server [Read me]
doortts doortts 2018-10-26
usermenu: Show user account's project list at any cases
@4dea4fee1c0004411aadc540fb67a16c6b01b3a6
app/views/index/myOrganizationList.scala.html
--- app/views/index/myOrganizationList.scala.html
+++ app/views/index/myOrganizationList.scala.html
@@ -8,7 +8,7 @@
 @import utils.TemplateHelper._
 
 @displayOrganizations(title:String, organizations:List[Organization], favoredOrganizations:List[Organization],  isActive:Boolean = false) = {
-    @if(organizations.isEmpty && favoredOrganizations.isEmpty) {
+    @if(organizations.isEmpty && favoredOrganizations.isEmpty && UserApp.currentUser().ownProjects.isEmpty) {
         <div id="@title" class="no-result tab-pane user-ul @if(isActive) {active}">@Messages("title.no.results")</div>
     } else {
         <ul class="tab-pane user-ul @if(isActive) {active}" id="@title">
Add a comment
List