Koha/koha-tmpl/intranet-tmpl/prog/en/modules/help
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
..
acqui Bug 14929: Fix missing display of help page in contract management 2015-10-02 11:08:20 -03:00
admin Bug 14929: Fix missing display of help page in contract management 2015-10-02 11:08:20 -03:00
authorities
catalogue Bug 13771: Add missing item search help file 2015-03-07 21:08:15 +01:00
cataloguing Bug 14424: Update cataloging help for 3.20 2015-07-10 10:49:01 -03:00
circ Bug 14424: Add on site checkouts help for 3.20 2015-07-10 10:49:02 -03:00
course_reserves
labels
members Bug 14424: Update Discharge Help for 3.20 2015-07-10 10:49:01 -03:00
offline_circ
patron_lists
patroncards
plugins Bug 11503: fix several typos 2014-01-13 20:47:03 +00:00
reports Bug 12661: Fixing capitalisation from "Item Type" to "Item type" 2014-07-30 11:05:21 -03:00
reserve Bug 11503: fix several typos 2014-01-13 20:47:03 +00:00
reviews
serials Bug 11503: fix several typos 2014-01-13 20:47:03 +00:00
suggestion
tags
tools Bug 14248: Optionally display authorship for news 2015-10-27 16:26:22 -03:00
virtualshelves Bug 12749 - Better translatability for list module 2014-08-14 20:05:26 -03:00
about.tt Bug 12821: (qa followup) fix History -> Timeline on the help page 2014-09-08 10:52:05 -03:00
edithelp.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
mainpage.tt Bug 14585: Fixing up online help on main page 2015-09-18 12:05:49 -03:00
nohelp.tt