Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions locales/af/LC_MESSAGES/discopower.po
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,9 @@ msgstr "InCommon"
msgid "{discopower:tabs:incremental_search}"
msgstr "Inkrementele soektog..."

msgid ""
"The institution you've chosen will be saved in this browser so that "
"you do not need to select it each time you login."
msgstr ""
"Die instelling wat jy gekies het, sal in hierdie webblaaier gestoor word "
"sodat jy dit nie hoef te kies elke keer as jy aanmeld nie."
6 changes: 6 additions & 0 deletions locales/en/LC_MESSAGES/discopower.po
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,9 @@ msgstr "InCommon"
msgid "{discopower:tabs:incremental_search}"
msgstr "Incremental search..."

msgid ""
"The institution you've chosen will be saved in this browser so that "
"you do not need to select it each time you login."
msgstr ""
"The institution you've chosen will be saved in this browser so that "
"you do not need to select it each time you login."
4 changes: 4 additions & 0 deletions public/assets/css/disco.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ div.favourite {
margin-top: 1ex;
}

#favouriteremember {
margin: 1ex 0 0;
}

div#content {
margin: .4em ! important;
}
Expand Down
1 change: 1 addition & 0 deletions public/assets/js/tablist.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ $(document).ready(function () {
}
}
});
$('#favouriteremember').tooltip();
});
8 changes: 7 additions & 1 deletion templates/disco.twig
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@
<input type="hidden" name="returnIDParam" value="{{ returnIDParam }}">
<input type="hidden" name="idpentityid" value="{{ faventry.entityid }}">
<input type="submit" name="formsubmit" id="favouritesubmit" value="{{ 'Login at'|trans }} {{ faventry|entityDisplayName }}" class="pure-button pure-button-primary">
</form>
{% if rememberenabled %}
<label for="remember" id="favouriteremember" class="pure-checkbox" title="{{ "The institution you've chosen will be saved in this browser so that you do not need to select it each time you login."|trans }}">
<input type="checkbox" name="remember" id="remember" value="1"{% if rememberchecked %} checked{% endif %}>
{{ 'Remember my choice' | trans }}
</label>
{% endif %}
</form>
</div>
{% endif %}

Expand Down