Commit 7d61ef73 authored by Matija Obreza's avatar Matija Obreza
Browse files

Token issue/expiry date formatting fixed

parent d7b43b00
......@@ -439,9 +439,9 @@ method.coding-table=Coding table
oauth-client.info=Client info
oauth-client.list=List of oauth clients
clinet.details.client.id=Client details id
clinet.details.additional.info=Additional info
clinet.details.token.list=List of tokens
client.details.client.id=Client details id
client.details.additional.info=Additional info
client.details.token.list=List of tokens
oauth-client.remove=Remove
oauth-client.remove.all=Remove all
oauth-client=Client
......
......@@ -391,9 +391,9 @@ team.page.profile.title=فريق\: {0}
team.page.list.title=جميع الفرق
oauth-client.info=Client info
oauth-client.list=List of oauth clients
clinet.details.client.id=Client details id
clinet.details.additional.info=Additional info
clinet.details.token.list=List of tokens granted by all users
client.details.client.id=Client details id
client.details.additional.info=Additional info
client.details.token.list=List of tokens granted by all users
oauth-client.remove=Remove
oauth-client.remove.all=Remove all
oauth-client=Client
......
......@@ -391,9 +391,9 @@ team.page.profile.title=Team\: {0}
team.page.list.title=Alle Teams
oauth-client.info=Client info
oauth-client.list=List of oauth clients
clinet.details.client.id=Client details id
clinet.details.additional.info=Additional info
clinet.details.token.list=List of tokens granted by all users
client.details.client.id=Client details id
client.details.additional.info=Additional info
client.details.token.list=List of tokens granted by all users
oauth-client.remove=Remove
oauth-client.remove.all=Remove all
oauth-client=Client
......
......@@ -13,16 +13,3 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
validate.email.key=Enter key
validate.email=Email validation
validate.email.invalid.key=Invalid key
userprofile.password=Reset password
userprofile.enter.email=Enter your email
userprofile.enter.password=Enter new password
userprofile.email.send=Send email
oauth-client.remove=Remove
oauth-client.remove.all=Remove all
oauth-client=Client
oauth-client.token.issue.date=Issue date
oauth-client.expires.date=Expires date
oauth-client.issued.tokens=Issued tokens
\ No newline at end of file
......@@ -391,9 +391,9 @@ team.page.profile.title=Equipo\: {0}
team.page.list.title=Todos los equipos
oauth-client.info=Client info
oauth-client.list=List of oauth clients
clinet.details.client.id=Client details id
clinet.details.additional.info=Additional info
clinet.details.token.list=List of tokens granted by all users
client.details.client.id=Client details id
client.details.additional.info=Additional info
client.details.token.list=List of tokens granted by all users
oauth-client.remove=Remove
oauth-client.remove.all=Remove all
oauth-client=Client
......
......@@ -249,9 +249,9 @@ userprofile.enter.password=Enter new password
userprofile.email.send=Send email
oauth-client.info=Client info
oauth-client.list=List of oauth clients
clinet.details.client.id=Client details id
clinet.details.additional.info=Additional info
clinet.details.token.list=List of tokens granted by all users
client.details.client.id=Client details id
client.details.additional.info=Additional info
client.details.token.list=List of tokens granted by all users
oauth-client.remove=Remove
oauth-client.remove.all=Remove all
oauth-client=Client
......
......@@ -391,9 +391,9 @@ team.page.profile.title=Équipe \: {0}
team.page.list.title=Toutes les équipes
oauth-client.info=Client info
oauth-client.list=List of oauth clients
clinet.details.client.id=Client details id
clinet.details.additional.info=Additional info
clinet.details.token.list=List of tokens granted by all users
client.details.client.id=Client details id
client.details.additional.info=Additional info
client.details.token.list=List of tokens granted by all users
oauth-client.remove=Remove
oauth-client.remove.all=Remove all
oauth-client=Client
......
......@@ -391,9 +391,9 @@ team.page.profile.title=Equipa\: {0}
team.page.list.title=Todas as equipas
oauth-client.info=Client info
oauth-client.list=List of oauth clients
clinet.details.client.id=Client details id
clinet.details.additional.info=Additional info
clinet.details.token.list=List of tokens granted by all users
client.details.client.id=Client details id
client.details.additional.info=Additional info
client.details.token.list=List of tokens granted by all users
oauth-client.remove=Remove
oauth-client.remove.all=Remove all
oauth-client=Client
......
......@@ -391,9 +391,9 @@ team.page.profile.title=Команда\: {0}
team.page.list.title=Все команды
oauth-client.info=Client info
oauth-client.list=List of oauth clients
clinet.details.client.id=Client details id
clinet.details.additional.info=Additional info
clinet.details.token.list=List of tokens granted by all users
client.details.client.id=Client details id
client.details.additional.info=Additional info
client.details.token.list=List of tokens granted by all users
oauth-client.remove=Remove
oauth-client.remove.all=Remove all
oauth-client=Client
......
......@@ -22,9 +22,9 @@ userprofile.enter.password=Enter new password
userprofile.email.send=Send email
oauth-client.info=Client info
oauth-client.list=List of oauth clients
clinet.details.client.id=Client details id
clinet.details.additional.info=Additional info
clinet.details.token.list=List of tokens granted by all users
client.details.client.id=Client details id
client.details.additional.info=Additional info
client.details.token.list=List of tokens granted by all users
oauth-client.remove=Remove
oauth-client.remove.all=Remove all
oauth-client=Client
......
......@@ -391,9 +391,9 @@ team.page.profile.title=团队:{0}
team.page.list.title=所有团队
oauth-client.info=Client info
oauth-client.list=List of oauth clients
clinet.details.client.id=Client details id
clinet.details.additional.info=Additional info
clinet.details.token.list=List of tokens granted by all users
client.details.client.id=Client details id
client.details.additional.info=Additional info
client.details.token.list=List of tokens granted by all users
oauth-client.remove=Remove
oauth-client.remove.all=Remove all
oauth-client=Client
......
......@@ -14,14 +14,14 @@
<div class="form-horizontal">
<div class="form-group">
<label class="col-lg-2 control-label"><spring:message code="clinet.details.client.id"/></label>
<label class="col-lg-2 control-label"><spring:message code="client.details.client.id"/></label>
<div class="col-lg-5">${clientDetails.clientId}</div>
</div>
<security:authorize access="hasRole('ADMINISTRATOR') && isAuthenticated()">
<div class="form-group">
<label class="col-lg-2 control-label"><spring:message code="clinet.details.token.list"/></label>
<label class="col-lg-2 control-label"><spring:message code="client.details.token.list"/></label>
<div class="col-lg-10">
<table class="accessions">
......
......@@ -4,11 +4,11 @@
<html>
<head>
<title><spring:message code="oauth-client.page.list.title"/></title>
<title><spring:message code="client.details.token.list"/></title>
</head>
<body>
<h1>
<spring:message code="oauth-client.list"/>
<spring:message code="client.details.token.list"/>
</h1>
<p></p>
......@@ -30,10 +30,10 @@
<a href="<c:url value="/management/${token.clientId}"/> ">${token.clientId}</a>
</td>
<td>
<fmt:formatDate value="${token.createdDate}" pattern="MM-dd-yyyy hh:mm:ss"/>
<fmt:formatDate value="${token.createdDate}" type="both" timeStyle="full" dateStyle="short" />
</td>
<td>
<fmt:formatDate value="${token.accessToken.expiration}" pattern="MM-dd-yyyy hh:mm:ss"/>
<fmt:formatDate value="${token.accessToken.expiration}" type="both" timeStyle="full" dateStyle="short" />
</td>
<td>
<!-- FIXME Use POST -->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment