-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BWS-PKG - Bug 37294: Add modal to generate next
To test: 1. Serials -> Create or find a subscription 2. Receive the subscription 3. Save 4. Click 'Generate next' 5. Nothing happens 6. APPLY PATCH 7. Try again, now the "Generate next" button should work as expected. Signed-off-by: Kelly <[email protected]> Signed-off-by: Martin Renvoize <[email protected]>
- Loading branch information
Showing
2 changed files
with
25 additions
and
7 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
koha-tmpl/intranet-tmpl/prog/en/includes/modals/generate_next.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<div id="generate_next" class="modal" tabindex="-1" role="dialog" aria-labelledby="generate_next" aria-hidden="true"> | ||
<div class="modal-dialog"> | ||
<div class="modal-content"> | ||
<form action="/cgi-bin/koha/serials/serials-collection.pl" method="post"> | ||
[% INCLUDE 'csrf-token.inc' %] | ||
<div class="modal-body"> | ||
<fieldset class="rows"> | ||
<legend>Do you really want to generate next serial?</legend> | ||
<input type="hidden" name="op" value="cud-gennext" /> | ||
<input type="hidden" name="subscriptionid" value="[% subscriptionidlist || subscriptionid | html %]" /> | ||
</fieldset> | ||
</div> | ||
|
||
<div class="modal-footer"> | ||
<a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a> | ||
<input type="submit" class="btn btn-default approve" value="Yes" /> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters