Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Codecrew
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
30
Merge Requests
2
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7a2db040
authored
Mar 02, 2015
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asdf
1 parent
b79c2f77
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
2 deletions
code/moya-web/WebContent/place/myGroups.xhtml
code/moya-web/src/main/resources/fi/codecrew/moya/resources/i18n.properties
code/moya-web/src/main/resources/fi/codecrew/moya/resources/i18n_en.properties
code/moya-web/src/main/resources/fi/codecrew/moya/resources/i18n_fi.properties
code/moya-web/WebContent/place/myGroups.xhtml
View file @
7a2db04
<!DOCTYPE html
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xmlns:ui=
"http://java.sun.com/jsf/facelets"
xmlns:h=
"http://java.sun.com/jsf/html"
xmlns:c=
"http://java.sun.com/jsp/jstl/core"
...
...
@@ -74,11 +74,19 @@
</h:form>
<!-- TODO: button -->
<p:outputPanel
rendered=
"#{!placeGroupView.useEticket}"
>
<p:outputPanel
rendered=
"#{!placeGroupView.useEticket
&& !empty placeGroupView.groupMemberships
}"
>
<p>
<input
type=
"button"
onclick=
"location.replace('#{request.contextPath}/PlaceGroupPdf');"
value=
"#{i18n['placegroup.printPdf']}"
/>
</p>
</p:outputPanel>
<p:outputPanel
rendered=
"#{!placeGroupView.useEticket && empty placeGroupView.groupMemberships}"
>
<p>
#{i18n['placegroup.noPlacegroups']}
</p>
</p:outputPanel>
<p:outputPanel
rendered=
"#{placeGroupView.useEticket}"
>
<p>
<p:button
outcome=
"/place/myEtickets"
value=
"#{i18n['placegroup.showEticket']}"
/>
...
...
code/moya-web/src/main/resources/fi/codecrew/moya/resources/i18n.properties
View file @
7a2db04
...
...
@@ -516,3 +516,4 @@ cardObjectData.deleteQ=Delete object data from card template?
cardTextData.deleteQ
=
Delete text data from card template?
cardObjectData.delete
=
Delete
cardTextData.delete
=
Delete
placegroup.noPlacegroups
=
Sinulla t
\u
00E4ytyy olla paikkoja ett
\u
00E4 voit n
\u
00E4hd
\u
00E4 lippusi
code/moya-web/src/main/resources/fi/codecrew/moya/resources/i18n_en.properties
View file @
7a2db04
...
...
@@ -1733,3 +1733,4 @@ cardObjectData.deleteQ=Delete object data from card template?
cardTextData.deleteQ
=
Delete text data from card template?
cardObjectData.delete
=
Delete
cardTextData.delete
=
Delete
placegroup.noPlacegroups
=
You must have placegroups that you can have places
code/moya-web/src/main/resources/fi/codecrew/moya/resources/i18n_fi.properties
View file @
7a2db04
...
...
@@ -1716,3 +1716,4 @@ cardObjectData.deleteQ=Poistetaanko objektidata korttipohjalta?
cardTextData.deleteQ
=
Poistetaanko tekstidata korttipohjalta?
cardObjectData.delete
=
Poista
cardTextData.delete
=
Poista
placegroup.noPlacegroups
=
Sinulla t
\u
00E4ytyy olla paikkoja ett
\u
00E4 voit n
\u
00E4hd
\u
00E4 lippusi
Write
Preview
Markdown
is supported
Attach a file
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 post a comment