[midPoint] text labels of icons on user home page

Kate Honchar kate.honchar at evolveum.com
Mon Feb 29 12:37:29 CET 2016


Roman, hi! 
I think, there could be some opportunity to make this labels language dependent. E.g. add some attribute like <labelResourcceKey> to schema (and the same for description). Then we could search for the necessary value by this key in Midpoint.properties file according to the chosen language. But in this case, you should update Midpoint.properties file with new values every time you want to configure new dashboard icon (if this icon label doesn't have the appropriate value yet...). 
Best regards. 
Kateryna Honchar. 

----- Исходное сообщение -----

От: "Roman Pudil - AMI Praha a.s." <roman.pudil at ami.cz> 
Кому: "midPoint General Discussion" <midpoint at lists.evolveum.com> 
Отправленные: Пятница, 26 Февраль 2016 г 13:54:21 
Тема: [midPoint] text labels of icons on user home page 

Hi all, 
it is possible change text labels of icons according to the set language by the current logged user (defined in SystemConfiguration object)? 
See part of the SystemConfiguration (in bold) below. 
<adminGuiConfiguration> 
<userDashboardLink> 
<targetUrl>/self/profile</targetUrl> 
<label> Profile </label> 
<description> View/edit your profile </description> 
<icon> 
<cssClass>fa fa-user</cssClass> 
</icon> 
<color>blue</color> 
<authorization>http://midpoint.evolveum.com/xml/ns/public/security/authorization-ui-3#selfProfile</authorization> 
<authorization>http://midpoint.evolveum.com/xml/ns/public/security/authorization-ui-3#selfAll</authorization> 
</userDashboardLink> 
Thanks! 
Regards 

	

Roman Pudil 
solution architect 

gsm: [+420] 775 663 666 
e-mail: roman.pudil at ami.cz 

			

AMI Praha a.s. 
Pláničkova 11 
162 00 Praha 6 
tel./fax: [+420] 274 783 239 
web: www.ami.cz 			


	

	
Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. 
jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. 

_______________________________________________ 
midPoint mailing list 
midPoint at lists.evolveum.com 
http://lists.evolveum.com/mailman/listinfo/midpoint 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160229/49f80054/attachment.htm>


More information about the midPoint mailing list