mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
Added the functionality for the admin to clear the issues.
This commit is contained in:
parent
0556e4d32b
commit
9ef618af4b
5 changed files with 77 additions and 18 deletions
|
@ -93,12 +93,13 @@
|
|||
</p>
|
||||
<p>Requested By: {{requestedBy}}</p>
|
||||
<p>Requested Date: {{requestedDate}}</p>
|
||||
{{#if otherMessage}}
|
||||
<p>Message: {{otherMessage}}</p>
|
||||
{{else}}
|
||||
<p>Issue: {{issues}}</p>
|
||||
{{/if}}
|
||||
|
||||
<div id="issueArea">
|
||||
{{#if otherMessage}}
|
||||
<p>Message: {{otherMessage}}</p>
|
||||
{{else}}
|
||||
<p>Issue: {{issues}}</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-2 col-sm-push-3">
|
||||
<br />
|
||||
|
@ -108,6 +109,11 @@
|
|||
<input name="Id" type="text" value="{{requestId}}" hidden="hidden" />
|
||||
<button id="{{requestId}}" style="text-align: right" class="btn btn-danger delete" type="submit"><i class="fa fa-plus"></i> Remove</button>
|
||||
</form>
|
||||
|
||||
<form method="POST" action="/requests/clearissues" id="clear{{requestId}}">
|
||||
<input name="Id" type="text" value="{{requestId}}" hidden="hidden" />
|
||||
<button id="{{requestId}}" style="text-align: right" class="btn btn-info clear" type="submit"><i class="fa fa-check"></i> Clear Issues</button>
|
||||
</form>
|
||||
{{/if_eq}}
|
||||
|
||||
<form method="POST" action="/requests/reportissue/" id="report{{requestId}}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue