Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Owen Leonard d37a3576f2
Bug 25110: Allow patrons to add star ratings to titles on their summary/checkout page
This patch adds the ability for logged-in patrons to add star ratings to
titles in their list of current checkouts and on the reading history
page.

The reading history page previously only showed existing ratings. Now it
will allow the entry of ratings as well.

The JS and markup for the feature are in separate include files to
facilitate re-use. It includes markup for non-js display of ratings and
js-driven ratings controls.

To test, apply the patch and set the OpacStarRatings to all, "results,
details, and user" pages.

 - Log in to the OPAC as a user with checkouts.
 - On the "your summary" page, test the features of setting star
   ratings:
   - Any title with existing ratings should show the rating and the
     average rating number.
   - Set a rating. Confirm that it shows a message with your rating.
   - Click the "cancel rating" link, and confirm that your rating is
     removed.
   - Set a rating and reload the page. Confirm that the rating was
     saved.
   - Test the "cancel rating" link on the title you set before you
     reloaded the page. The rating should be cancelled.
 - Test the same functionality on the "your reading history" page.
 - Test these pages with the  OpacStarRatings preference set to "only
   details" or "no." The pages should function correctly.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-29 17:04:32 +01:00
..
preferences Bug 25110: Allow patrons to add star ratings to titles on their summary/checkout page 2020-04-29 17:04:32 +01:00
searchengine/elasticsearch Bug 20484: (RM follow-up) Highlight ES disablement 2020-04-21 12:14:13 +01:00
additional-fields.tt Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
admin-home.tt Bug 20484: Allow configuration of ES before switching to ES 2020-04-20 13:35:28 +01:00
adveditorshortcuts.tt Bug 21411: (follow-up) Clean up for QA 2019-05-10 18:59:39 +00:00
aqbudgetperiods.tt Bug 25282: Correct Bootstrap dropdown button markup 2020-04-29 16:20:08 +01:00
aqbudgets.tt Bug 25282: Correct Bootstrap dropdown button markup 2020-04-29 16:20:08 +01:00
aqcontract.tt Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
aqplan.tt Bug 17016: (follow-up) Clear with 0.00 instead of blank (Use Price) 2020-03-02 10:37:18 +00:00
audio_alerts.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
auth_subfields_structure.tt Bug 21706: (QA follow-up) Fix tabs 2018-11-12 16:39:57 -03:00
auth_tag_structure.tt Bug 25282: Correct Bootstrap dropdown button markup 2020-04-29 16:20:08 +01:00
authorised_values.tt Bug 22468: Standardize on labelling ccode table columns as Collections 2020-04-15 12:32:49 +01:00
authtypes.tt Bug 25282: Correct Bootstrap dropdown button markup 2020-04-29 16:20:08 +01:00
biblio_framework.tt Bug 25282: Correct Bootstrap dropdown button markup 2020-04-29 16:20:08 +01:00
branch_transfer_limits.tt Bug 24747: Corrects on-screen instructions in branch transfer limits 2020-03-02 09:29:50 +00:00
branches.tt Bug 22661: TinyMCE/WYSIWYG editor doesn't translate 2019-11-03 07:39:54 +00:00
cash_registers.tt Bug 24395: Show initial float using the Price TT plugin on summary page 2020-01-20 14:03:49 +00:00
categories.tt Bug 23605: Fix terminology for branches limitations on patron category admin page 2019-09-23 10:40:38 +01:00
checkmarc.tt Bug 20739: Update two-column templates with Bootstrap grid, Administration part 3 2018-08-30 13:40:33 +00:00
cities.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
classsources.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
clone-rules.tt Bug 20739: Update two-column templates with Bootstrap grid, Administration part 3 2018-08-30 13:40:33 +00:00
columns_settings.tt Bug 25186: Fix accordion sections height in columns configuration page 2020-04-22 13:30:11 +01:00
credit_types.tt Bug 17702: (RM follow-up) Remove use of I18N tt 2020-02-20 16:41:39 +00:00
currency.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
debit_types.tt Bug 23354: (follow-up) Make display of debit types configurable 2020-01-13 14:05:14 +00:00
desks.tt Bug 13881: (QA follow-up) Some documentation and terminology fixes 2020-03-25 09:20:00 +00:00
didyoumean.tt Bug 20399: (QA follow-up) Remove mention of INTRAdidyoumean from text and delete commented code 2020-03-26 11:55:46 +00:00
edi_accounts.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
edi_ean_accounts.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
item_circulation_alerts.tt Bug 21672: Switch templates to Bootstrap grid: Various 2019-01-25 17:41:37 +00:00
items_search_field.tt Bug 20740: Update two-column templates with Bootstrap grid, Administration part 4 2018-08-30 13:40:34 +00:00
items_search_fields.tt Bug 19497: Removed title (tooltip) from Edit button in items_search_fields.tt 2019-04-11 13:52:08 +00:00
itemtypes.tt Bug 4944: Add OpacNoItemTypeImages system preference 2020-04-06 10:49:26 +01:00
koha2marclinks.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
library_groups.tt Bug 22937: Add hint to groups editor 2020-04-08 11:52:25 +01:00
localization.tt Bug 23351: Clean up localization template 2019-10-02 13:53:28 +01:00
marc_subfields_structure.tt Bug 8643: Add important constraint to marc subfields 2020-02-11 14:33:29 +00:00
marctagstructure.tt Bug 25282: Correct Bootstrap dropdown button markup 2020-04-29 16:20:08 +01:00
matching-rules.tt Bug 23324: Add an ISBN normalization routine 2019-08-16 12:26:48 +01:00
oai_set_mappings.tt Bug 21520: QA Follow-up: do not build html tags with TT conditions 2020-01-15 13:50:09 +00:00
oai_sets.tt Bug 25282: Correct Bootstrap dropdown button markup 2020-04-29 16:20:08 +01:00
overdrive.tt Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
patron-attr-types.tt Bug 20648: Attribute option 'Display in check-out' should be renamed 2020-03-27 08:43:36 +00:00
preferences.tt Bug 24193: Add CodeMirror linting of JavaScript, CSS, HTML, and YAML 2020-03-02 10:44:14 +00:00
problem-reports.tt Bug 4461: Correctly deal with encoding/escaping chars 2020-04-06 11:19:40 +01:00
share_content.tt Bug 23075: Correct indendation 2019-11-06 17:05:34 +00:00
smart-rules.tt Bug 24798: smart-rules.tt has erroneous comments 2020-03-06 09:54:32 +00:00
sms_providers.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
sru_modmapping.tt Bug 21647: Clean up SRU fields mapping templates 2018-11-06 17:01:44 +00:00
sru_modmapping_auth.tt Bug 21647: Clean up SRU fields mapping templates 2018-11-06 17:01:44 +00:00
systempreferences.tt Bug 21574: Local use system preferences page doesn't have the system preferences menu 2019-11-26 11:43:57 +00:00
transport-cost-matrix.tt Bug 21279: Fix &nbsp; in transport cost matrix 2018-10-15 13:08:04 +00:00
usage_statistics.tt Bug 23866: Prompt for HEA configuration 2019-10-31 11:35:52 +00:00
z3950servers.tt Bug 25282: Correct Bootstrap dropdown button markup 2020-04-29 16:20:08 +01:00