Bug 37488 - Allow branding of setup wizard for app appliances
Allow branding of setup wizard for app appliances
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Setup wizard
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 4.0-0-errata
Assigned To: Alexander Kläser
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-01-08 16:27 CET by Alexander Kläser
Modified: 2015-01-29 11:44 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
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): Design, Typo/text changes
Max CVSS v3 score:


Attachments
Patch (65.51 KB, patch)
2015-01-09 14:29 CET, Alexander Kläser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2015-01-08 16:27:21 CET
For app appliance, it would be great to be able to configure an app specific branding to the setup wizard which includes textual adaptations (e.g., display the app name on the welcome page) as well as the app logo.
Comment 1 Alexander Kläser univentionstaff 2015-01-09 14:29:12 CET
Created attachment 6588 [details]
Patch

The following points are addressed by the attached patch:

* UCR variables can be send for branding the setup wizard
   umc/web/appliance/name → sets the app name
    umc/web/appliance/logo → sets the path to the svg (!) logo, can be absolute (with leading "/") or relative to /u-m-c/js_$...$/dijit/themes/umc

* A few adjustment w.r.t. to the text have been made

* When DHCP is activated, a small link allows to renew the DHCP lease

* Unnecessary code to reset the Apache startsite have been removed from setup-join.sh. This is being done in the postrm script of u-s-s-boot which is deinstalled via the appliance hook script 99_remove_univention_system_setup_boot. The appliance hooks are called as last step in setup-join.sh.
Comment 2 Alexander Kläser univentionstaff 2015-01-12 13:03:47 CET
(In reply to Alexander Kläser from comment #1)
> Created attachment 6588 [details]
> Patch
> 
> The following points are addressed by the attached patch:
> [...]

The patch has been applied [r57265].

univention-system-setup (8.1.66-8):
Bug #37488:
* A branding for the appliance wizard has been implemented via the UCR
  variables umc/web/appliance/name and umc/web/appliance/logo
* A DHCP button/link has been added for sending a DHCP request anew
* A few minor text adjustments have been done
* Unneeded code for resetting the UCR variable apache2/startsite has been
  removed from the setup-join.sh script
Comment 3 Florian Best univentionstaff 2015-01-13 12:12:22 CET
OK, appliances with text changes and logo changes are working.
YAML: OK
Comment 4 Janek Walkenhorst univentionstaff 2015-01-29 11:44:01 CET
<http://errata.univention.de/ucs/4.0/57.html>