Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Martin Persson 1f15b585d4 Bug 14248: Optionally display authorship for news
Test plan:

* Apply dependant patches 14246 and 14247.
* Apply current patch.
* Log into the Staff client, go to
 'Administration' -> 'Global Preferences' -> 'Tools',
  a new section titled 'News' should appear with a single option named 'NewsAuthorDisplay'.
  Available values should be 'Not at all', 'OPAC only', 'Staff client only' and
  Both OPAC and staff client'. By default the value should be 'Not at all'
  (to mimic existing behaviour, important!).

* Change the value to something different and save the changes.
* Go to 'Tools' -> 'News' and add some news items (at least 2).
* Use the MySQL command line tool to edit the opac_news table,
  removing the user id from one of the news items:
  $ mysql -u kohaadmin -p -D koha
  > SELECT `idnew`, `title`, `borrowernumber` FROM `opac_news`;
  * Make a mental note of one of the 'newid' numbers to change.
  > UPDATE `opac_news` SET `borrowernumber` = NULL WHERE `idnew` = <your-id-here>;
  * Now one of the news items will have no user id, and no author should be shown for it.
* Go to OPAC and Staff client and make sure the display modes works as intended.
  * Repeat for all values, making sure that the settings works as intended.
  * The changed news item should have no author info shown at any time.
  * The unchanged news item should show your own user name if the
    settings match the section where it is displayed.

Sponsored-By: Halland County Library

Tested on top of Bugs 1246 and 1247, works as advertised.
Note: Some whitespaces changed / removed in koha-news.tt to pass qa tools.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2015-10-27 16:26:22 -03:00
..
batch_delete_records.tt Bug 12403 [Follow-up] Batch record deletion 2014-11-07 15:26:02 -03:00
batch_record_modification.tt Bug 11395: prevent processing no record 2015-03-05 15:27:15 +01:00
batchMod-del.tt Bug 8246: Allow deleting record if no more items 2015-04-08 11:10:28 -03:00
batchMod-edit.tt Bug 10480: Use the framework plugin object in cataloguing 2015-04-16 14:48:36 -03:00
batchMod.tt Bug 10887: Batch item deletion -- doesn't need Use default values section 2015-04-08 11:09:08 -03:00
cleanborrowers.tt Bug 6756: Add info messages 2015-09-16 10:55:42 -03:00
csv-profiles.tt Bug 12404: Add some documentation in the help page. 2015-04-27 10:43:23 -03:00
export.tt Bug 12404: tools/export.pl allows CSV export 2015-04-27 10:43:23 -03:00
holidays.tt Bug 14703: Holidays description shows \r\n for every new line 2015-08-28 10:40:18 -03:00
import_borrowers.tt Bug 12543 - Add userid as matchpoint for "Import patrons" tool 2015-02-09 13:45:06 -03:00
inventory.tt Bug 10005: Inventory - Add an option to not check in items 2015-09-16 10:57:56 -03:00
koha-news.tt Bug 14248: Optionally display authorship for news 2015-10-27 16:26:22 -03:00
letter.tt Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
manage-marc-import.tt Bug 9067: Fix space error 2015-05-14 12:19:16 -03:00
marc_modification_templates.tt Bug 14098: Add copy_and_replace action to MMT 2015-09-07 11:17:13 -03:00
modborrowers.tt Bug 11929: patron modification error shows borrowernumber 2015-06-01 14:28:04 -03:00
overduerules.tt Bug 11742: A letter code should be unique. 2014-06-23 15:19:55 -03:00
picture-upload.tt
quotes-upload.tt Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
quotes.tt Bug 13768: Correction of double quotes escaped into double quotes 2015-03-19 14:14:20 -03:00
scheduler.tt
showdiffmarc.tt Bug 11876 [Follow-up] Add a diff view to staged MARC Records 2014-10-31 14:25:11 -03:00
stage-marc-import.tt Bug 14321: Integrate Upload.pm into Koha 2015-09-25 12:02:52 -03:00
tools-home.tt Bug 13874: 'Rotating collections' are a circulation tool 2015-06-22 11:47:37 -03:00
upload-images.tt Bug 14321: Integrate Upload.pm into Koha 2015-09-25 12:02:52 -03:00
upload.tt Bug 14321: [QA Follow-up] Additional QA requests 2015-09-25 12:02:52 -03:00
viewlog.tt Bug 14024 - add reports to action logs 2015-06-04 10:46:20 -03:00