Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
18f40086
Commit
18f40086
authored
Oct 03, 2013
by
Matija Obreza
Browse files
Fixed article i18n and a bug in URL
parent
7ccaa557
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/resources/content/language.properties
View file @
18f40086
...
...
@@ -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
...
...
src/main/webapp/WEB-INF/jsp/content/article-edit.jsp
View file @
18f40086
...
...
@@ -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"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment