Skip to content

Commit 957e41d

Browse files
committed
Update shortcut URL page with extra warning text
1 parent 9ff0f6e commit 957e41d

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/main/resources/messages.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ screen.institutionlogin.message.auto=Your institution has partnered with OSF. Pl
611611
screen.institutionlogin.heading.select=Your institution
612612
screen.institutionlogin.heading.auto=Your institution
613613
screen.institutionlogin.link.select=Not your institution?
614+
screen.institutionlogin.link.hidden=placeholder: here goes some warning message
614615
screen.institutionlogin.link.unsupported=I can't find my institution
615616
screen.institutionlogin.button.submit=Sign in
616617
screen.institutionlogin.osf=Sign in with email

src/main/resources/templates/casInstitutionLoginView.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ <h1 th:utext="#{screen.institutionlogin.heading}"></h1>
3131
</select>
3232
</section>
3333

34+
<section class="text-with-mdi text-danger">
35+
<p th:if="${osfCasLoginContext.institutionId}" th:utext="#{screen.institutionlogin.link.hidden}"></p>
36+
</section>
37+
3438
<section class="text-with-mdi">
3539
<span th:if="${osfCasLoginContext.institutionId}">
3640
<a th:href="@{/login(campaign=institution, institutionId=${institutionId ?: ''}, service=${service?.originalUrl ?: ''})}" th:utext="#{screen.institutionlogin.link.select}"></a>

0 commit comments

Comments
 (0)