[Notice] Announcing the End of Demo Server [Read me]

add locked icon in Projects if project is private
@a92fc508d58ae1878d29eb7852223208d656b397
--- app/views/projectList.scala.html
+++ app/views/projectList.scala.html
... | ... | @@ -21,15 +21,14 @@ |
21 | 21 |
@for(project <- currentPage.getList()) { |
22 | 22 |
<tr> |
23 | 23 |
<td> |
24 |
- |
|
25 |
- |
|
26 |
- <a href="@routes.ProjectApp.project(project.owner, project.name)" class="project-name"> |
|
27 |
- <strong> |
|
28 |
- @project.name |
|
29 |
- <i class="ico ico-lock"></i> |
|
30 |
- </strong> |
|
31 |
- </a> |
|
32 |
- |
|
24 |
+ <a href="@routes.ProjectApp.project(project.owner, project.name)" class="project-name"> |
|
25 |
+ <strong> |
|
26 |
+ @project.name |
|
27 |
+ @if(!project.share_option){ |
|
28 |
+ <i class="ico ico-lock"></i> |
|
29 |
+ } |
|
30 |
+ </strong> |
|
31 |
+ </a> |
|
33 | 32 |
</td> |
34 | 33 |
<td>@project.owner</td> |
35 | 34 |
</tr> |
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?