Commit 18f40086 authored by Matija Obreza's avatar Matija Obreza
Browse files

Fixed article i18n and a bug in URL

parent 7ccaa557
......@@ -229,6 +229,11 @@ menu.report-an-issue=Report an issue
menu.scm=Source code
menu.translate=Translate Genesys
article.edit-article=Editing article
article.slug=Article slug (URL)
article.title=Article title
article.body=Article body
activitypost=Activity post
activitypost.add-new-post=Add new post
activitypost.post-title=Post title
......
......@@ -38,7 +38,7 @@
</div>
<input type="submit" value="<spring:message code="save"/>" class="btn btn-primary" />
<a href="<c:url value="${article.id ne null ? '/content/' + article.slug} : '/' }" />" class="btn btn-default">Cancel</a>
<a href="<c:url value="${article.id ne null ? '/content/'.concat(article.slug) : '/' }" />" class="btn btn-default">Cancel</a>
</form>
<script type="text/javascript">
......
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