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

show lock image if private project
@c6541caf70a46ca39ea1d816dbe7b6e4100ee3a6
--- app/views/milestone/edit.scala.html
+++ app/views/milestone/edit.scala.html
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 |
|
5 | 5 |
@project.projectMngMain(title, projectInst) { |
6 | 6 |
@pageTitle(projectInst, "Milestone") |
7 |
- <div class="form-wrap milestone"> |
|
7 |
+ <!--<div class="form-wrap milestone"> |
|
8 | 8 |
@helper.form(action=routes.MilestoneApp.updateMilestone(projectInst.owner, projectInst.name, milestoneId), '_class->"nm"){ |
9 | 9 |
<div class="inner left"> |
10 | 10 |
<div class="n-alert hide" id="title_error"> |
... | ... | @@ -56,7 +56,7 @@ |
56 | 56 |
field: document.getElementById('dueDate'), |
57 | 57 |
format: 'YYYY-MM-DD', |
58 | 58 |
}); |
59 |
- </script> |
|
59 |
+ </script>--> |
|
60 | 60 |
|
61 | 61 |
|
62 | 62 |
|
--- app/views/myProjectList.scala.html
+++ app/views/myProjectList.scala.html
... | ... | @@ -1,14 +1,16 @@ |
1 | 1 |
@(projects:List[Project]) |
2 | 2 |
|
3 | 3 |
@if(projects != null){ |
4 |
- @for(singleProject <- projects){ |
|
4 |
+ @for(project <- projects){ |
|
5 | 5 |
<li class="my-project"> |
6 | 6 |
<div class="project-header"> |
7 | 7 |
<div class="name-wrap"> |
8 |
- <a href="@routes.ProjectApp.project(singleProject.owner, singleProject.name)" class="project-name"> |
|
8 |
+ <a href="@routes.ProjectApp.project(project.owner, project.name)" class="project-name"> |
|
9 | 9 |
<strong> |
10 |
- @singleProject.name (@singleProject.owner) |
|
10 |
+ @project.name (@project.owner) |
|
11 |
+ @if(!project.share_option){ |
|
11 | 12 |
<i class="ico ico-lock"></i> |
13 |
+ } |
|
12 | 14 |
</strong> |
13 | 15 |
</a> |
14 | 16 |
</div> |
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?