This repository was archived by the owner on Jun 21, 2022. It is now read-only.
File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -121,4 +121,4 @@ login logout header color
121
121
122
122
.bg-header {
123
123
background-color : var (--cc-green );
124
- }
124
+ }
Original file line number Diff line number Diff line change
1
+ [% IF project.archived %]
1
2
<div class="alert alert-success">
2
- [% IF project.archived;
3
- IF can_unarchive %]
3
+ [% IF can_unarchive %]
4
4
<form id="unarchive" method="post" action="[% project_urls.unarchive %]"></form>
5
5
<p class="m-0">
6
6
📁 This project is archived (read-only). You can
7
7
<button class="alert-link" type="submit" form="unarchive">Un-archive this project</button>
8
8
</p>
9
9
[% ELSE %]
10
10
<p class="m-0">📁 This project has been archived.</p>
11
- [% END;
12
- ELSIF can_edit %]
11
+ [% END %]
12
+ </div>
13
+ [% ELSIF can_edit %]
14
+ <div class="alert alert-success">
13
15
<p class="m-0">
14
16
[% IF inventory.quantities == 0
15
17
AND inventory.articles == 0
@@ -45,9 +47,9 @@ ELSIF can_edit %]
45
47
</form>
46
48
[% ELSE %]
47
49
Once you’ve finished this project you can <a class="alert-link" href="[% project_urls.print %]">print documents</a> to take action.
48
- [% END;
49
- END %]
50
+ [% END %]
50
51
</div>
52
+ [% END %]
51
53
52
54
[% INCLUDE 'print/project.tt' %]
53
55
You can’t perform that action at this time.
0 commit comments