Hello.
Can you tell me what files I need to modify in order to change the display name of some buttons?
I’ve been looking through the code but found nothing.
Maybe I’m looking in the wrong place.
Registration
Registration for this event is currently open.
to
Submission
Project proposals submission is currently open.
The button
Register now to be Submit now
Searching for the strings in the codebase usually helps
“Register now” is in indico/modules/events/registration/templates/display/conference_home.html
for example. In this particular case you can use a template customization to override just the register_now_button_text
block.
Hello.
Thank you for pointing me in the right direction.
I changed all the Registration and Register button and text in the page except the one at the end of the page Call of Proposals 2022 (21 July 2022 - 30 September 2022): Registration · Indico
Can you point me me to the file?
Thank you very much
Hello.
Sorry for being a drag, but, can you help me further?
There’s no way to easily customize that one…
PS: You should upgrade to v3.2
after i modified the html files…
will it help?
AFAIK this is part of ultra-legacy AngularJS code in 3.1 and older; and in 3.2 I know for sure it’s rendered in React (JS) code - so not something a template override can change.
Hello.
I upgraded to 3.2 and wanted to remake the changes but i could’t find the string.
"Register now” is in indico/modules/events/registration/templates/display/conference_home.html
for example. In this particular case you can use a template customization to override just the register_now_button_text
block.
Were they moved?
Thanks
The block and template is still the same…