Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Use FEDERATION_NAME in management.html template#131

Open
vladimir-mencl-eresearch wants to merge 1 commit into
mastergrnet/djnro:masterfrom
conf-fed-namegrnet/djnro:conf-fed-nameCopy head branch name to clipboard
Open

Use FEDERATION_NAME in management.html template#131
vladimir-mencl-eresearch wants to merge 1 commit into
mastergrnet/djnro:masterfrom
conf-fed-namegrnet/djnro:conf-fed-nameCopy head branch name to clipboard

Conversation

@vladimir-mencl-eresearch

Copy link
Copy Markdown
Collaborator

We already have FEDERATION_NAME context parameter.

Use it in more places on the /management page, instead of literal "AAI Federation".

Adjust localisation file accordingly.

We already have FEDERATION_NAME context parameter.

Use it in more places on the /management page, instead of literal "AAI Federation".

Adjust localisation file accordingly.
@vladimir-mencl-eresearch

Copy link
Copy Markdown
Collaborator Author

@Razorfang @ghalse could I please ask you for a review?

#: djnro/templates/front/management.html:14
msgid ""
"Administrators can log in using either Social Networks or the AAI Federation:"
"Administrators can log in using either Social Networks or the %(FEDERATION_NAME)s:"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should there be an s at the end here? What if the value of FEDERATION_NAME doesn't suit well to this format?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The s indicates string format in this syntax (as opposed to d for numeric).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, my bad. In that case everything seems fine to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.