Bug 51260 - Make texts in self service configurable
Make texts in self service configurable
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Self Service
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-5-errata
Assigned To: Dirk Wiesenthal
Jürn Brodersen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-05-10 10:15 CEST by Valentin Heidelberger
Modified: 2020-07-29 16:50 CEST (History)
4 users (show)

See Also:
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

Note You need to log in before you can comment on or make changes to this bug.
Description Valentin Heidelberger univentionstaff 2020-05-10 10:15:59 CEST
A customer would like to change the texts in the self service. For example the title "Protect account" or "Customize your profile" below the tab "Your profile".

It'd be nice to have at least the titles configurable via UCR similar to the changes made in bug 50608 and it's related ones.
For the texts in the tabs like "Customize your profile" or "Forgot your password? Set a new one:" I'm not sure whether UCR is the best option but it'd surely be sufficient for now.
Comment 1 Ingo Steuwer univentionstaff 2020-05-12 12:26:55 CEST
We should review how to do this without introducing to many UCS variables:

* UCR variables make sense to make existing texts configurable, like link descriptions
* introducing additional texts should be done by having configurable "include files" like for CSS
Comment 3 Dirk Wiesenthal univentionstaff 2020-07-21 13:22:57 CEST
The texts are now configurable by their page hash and the language:

  ucr set umc/self-service/passwordreset/title/en="My Title"

(univention-self-service 4.0.3-36A~4.4.0.202007211218)

The variables are put into the meta.json

(univention-management-console 11.0.4-90A~4.4.0.202007211220)
Comment 5 Jürn Brodersen univentionstaff 2020-07-22 12:56:48 CEST
Js Error:
VM12 dojo.js:91 ReferenceError: i18nTools is not defined
Comment 6 Dirk Wiesenthal univentionstaff 2020-07-22 14:15:03 CEST
Fixed in
  univention-self-service 4.0.3-37A~4.4.0.202007221410
Comment 7 Jürn Brodersen univentionstaff 2020-07-22 17:06:15 CEST
What I tested:
Custom German text -> OK
Custom English text as fallback -> OK
No custom text -> OK

YAML -> OK

-> Verified