This repository was archived by the owner on Jun 21, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 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
121121
122122.bg-header {
123123 background-color : var (--cc-green );
124- }
124+ }
Original file line number Diff line number Diff line change 1+ [% IF project.archived %]
12<div class="alert alert-success">
2- [% IF project.archived;
3- IF can_unarchive %]
3+ [% IF can_unarchive %]
44 <form id="unarchive" method="post" action="[% project_urls.unarchive %]"></form>
55 <p class="m-0">
66 📁 This project is archived (read-only). You can
77 <button class="alert-link" type="submit" form="unarchive">Un-archive this project</button>
88 </p>
99 [% ELSE %]
1010 <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">
1315 <p class="m-0">
1416 [% IF inventory.quantities == 0
1517 AND inventory.articles == 0
@@ -45,9 +47,9 @@ ELSIF can_edit %]
4547 </form>
4648 [% ELSE %]
4749 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 %]
5051</div>
52+ [% END %]
5153
5254[% INCLUDE 'print/project.tt' %]
5355
You can’t perform that action at this time.
0 commit comments