mirror of
https://github.com/Prominence/grails-translations-plugin.git
synced 2026-01-09 19:06:41 +03:00
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
<%@ page contentType="text/html;charset=UTF-8" %>
|
|
<html>
|
|
<head>
|
|
<meta name="layout" content="main"/>
|
|
<title><g:message code="plugin.translations.overview.show.page.title" args="${[bundle.name]}" /></title>
|
|
<r:require modules="bootstrap"/>
|
|
</head>
|
|
|
|
<body>
|
|
<h1><g:message code="plugin.translations.overview.show.page.title" args="${[bundle.name]}" /></h1>
|
|
<br/>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<g:each in="${bundle.languages}" var="language">
|
|
<th>${language.languageTag.toUpperCase()}</th>
|
|
</g:each>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<g:each in="${bundle.languages}" var="language">
|
|
<td>
|
|
<g:each in="${language.translations}" var="translation">
|
|
${translation.key} = ${translation.value} </br>
|
|
</g:each>
|
|
</td>
|
|
</g:each>
|
|
</tr>
|
|
<tr>
|
|
<g:each in="${bundle.languages}" var="language">
|
|
<td><g:message code="plugin.translations.totalRecords" args="${language.translations.size() ?: '0'}"/></td>
|
|
</g:each>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</body>
|
|
</html> |