2016-06-27 17:22:08 +03:00

36 lines
1.2 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>${language.translations.each {key, value ->
print (key + '=' + value)
}}</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>