mirror of
https://github.com/Prominence/grails-translations-plugin.git
synced 2026-07-03 02:36:46 +03:00
Added error message if bundle wasn't found.
This commit is contained in:
@@ -7,16 +7,21 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<g:if test="${message}">
|
||||
<div class="alert alert-danger">
|
||||
${message}
|
||||
</div>
|
||||
</g:if>
|
||||
<g:if test="${bundles}">
|
||||
<ol>
|
||||
<g:each in="${bundles}" var="bundle">
|
||||
<li><g:link action="show" params="${[bundleName: bundle.name]}" >${bundle.name}</g:link></li>
|
||||
</g:each>
|
||||
</ol>
|
||||
<g:message code="plugin.translations.totalBundles" args="${[bundles.size()]}"/>
|
||||
</g:if>
|
||||
<g:else>
|
||||
There is no bundles!
|
||||
</g:else>
|
||||
<g:message code="plugin.translations.totalBundles" args="${[bundles.size()]}"/>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user