Bug 42979

Summary: Show a Univention Summit message / banner on the UMC start site
Product: UCS Reporter: Stefan Gohmann <gohmann>
Component: UMC (Generic)Assignee: Richard Ulmer <ulmer>
Status: CLOSED FIXED QA Contact: Alexander Kläser <klaeser>
Severity: enhancement    
Priority: P5 CC: best, horstmann, keiser
Version: UCS 4.1   
Target Milestone: UCS 4.1-4-errata   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=45826
What kind of report is it?: Feature Request What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:
Attachments: Screenshot

Description Stefan Gohmann univentionstaff 2016-11-17 07:34:55 CET
After the UMC login, a Univention Summit banner should be shown. The banner should be removed automatically at the 27th January 2017.
Comment 1 Johannes Keiser univentionstaff 2016-11-25 17:07:33 CET
r 74746 | 5.0.63-51.1245.201611251659
univention-management-console-frontend (5.0.63-51) 
* Bug #42979: Show a banner for the Univention Summit 2017 on the UMC
overviewpage

updated yaml: r 74747
Comment 2 Johannes Keiser univentionstaff 2016-11-25 19:02:46 CET
At the moment only a german banner is shown. A english one should be added.
Comment 3 Richard Ulmer univentionstaff 2016-11-28 12:25:11 CET
The English banner has now been added.

svn commit: 74758
build: 5.0.63-52.1246.201611281217

svn commit (yaml): 74759
Comment 4 Alexander Kläser univentionstaff 2016-11-30 19:07:16 CET
Created attachment 8264 [details]
Screenshot

Please implement the shown state on the attached screenshot.

When clicking on "x" we need to make sure that the banner does not reoccur (I would suggest via dojo/cookie).

We also need to make sure that the banner is only shown to admins. The following heuristic should be a good match for that:
> var showBanner = app.getModule('updater') || app.getModule('schoolrooms')
It assumes that admins have access to the 'updater' module and school admins have access to the 'schoolrooms' module. This should be a fair guess.
Comment 5 Richard Ulmer univentionstaff 2016-12-01 10:42:03 CET
The banner has been replaced with a smaller version and moved too the top. "Admin-Check" and cookie-memory has been added.


svn commit: 74859
build: 5.0.63-54.1248.201612011034

svn commit (yaml): 74861
Comment 6 Richard Ulmer univentionstaff 2016-12-01 14:59:49 CET
Some code cleanup suggested by Alex were made and a slightly larger banner added.

svn commit: 74900
svn commit (changelog): 74901
build: 5.0.63-57.1251.201612011453
svn commit (yaml): 74902
Comment 7 Alexander Kläser univentionstaff 2016-12-01 16:00:00 CET
Changes: OK, looks good!
YAML file: OK

No merge to 4.2-0 necessary

→ VERIFIED
Comment 8 Janek Walkenhorst univentionstaff 2016-12-01 16:27:14 CET
<http://errata.software-univention.de/ucs/4.1/349.html>