Added error message if bundle wasn't found.

This commit is contained in:
Prominence
2016-06-27 13:31:16 +03:00
parent 675eb1d055
commit 0a90793b02
6 changed files with 22 additions and 7 deletions
@@ -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>