Skip to content

Commit

Permalink
Circulation policy: issues
Browse files Browse the repository at this point in the history
 * FIX: closes rero#125, closes rero#127

Signed-off-by: Aly Badr <[email protected]>
  • Loading branch information
Aly Badr committed Oct 23, 2018
1 parent 937a524 commit 99b48ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"title": "Checkout duration in days",
"description": "The duration of the checkout in days.",
"type": "integer",
"minimum": 0,
"default": 7
},
"allow_requests": {
Expand All @@ -61,12 +62,14 @@
"title": "Maximum number of renewals",
"description": "Maximum number of renewals allowed.",
"type": "integer",
"minimum": 0,
"default": 0
},
"renewal_duration": {
"title": "Renewal duration in days",
"description": "The duration of the renewal in days.",
"type": "integer",
"minimum": 0,
"default": 7
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h2> {{_('Circulation Policy')}}: {{ record.name }}</h2>
{{_('Checkout Duration')}}:
</div>
<div class="col-xs-9 col-sm-10">
{{ record.checkout_duration }}
{{ record.checkout_duration }} {{_('day(s)')}}
</div>
</div>
{% endif %}
Expand All @@ -74,7 +74,7 @@ <h2> {{_('Circulation Policy')}}: {{ record.name }}</h2>
{{_('Renewal Duration')}}:
</div>
<div class="col-xs-9 col-sm-10">
{{ record.renewal_duration }}
{{ record.renewal_duration }} {{_('day(s)')}}
</div>
</div>
{% endif %}
Expand Down

0 comments on commit 99b48ef

Please sign in to comment.