forked from arnaud-castelltort/play-Jug
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
813c742
commit 48f6a57
Showing
7 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,5 +68,4 @@ public static void downloadEventAttachment(Long eventId, String attachment) { | |
notFound(); | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<event> | ||
<title>${event.title}</title> | ||
<date>${event.date}</date> | ||
<location>${event.location}</location> | ||
<description>${event.description}</description> | ||
<registrationURL>${event.registrationURL}</registrationURL> | ||
<capacity>${event.capacity}</capacity> | ||
<open>${event.open}</open> | ||
<map>${event.map}</map> | ||
<talks> | ||
#{list event.talks(), as : "talk"} | ||
#{include 'API/talk.xml' /} | ||
#{/list} | ||
</talks> | ||
</event> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<events> | ||
#{list events, as:'event'} | ||
<event> | ||
<title>${event.title}</title> | ||
<date>${event.date}</date> | ||
<description>${event.description}</description> | ||
</event> | ||
#{include 'API/event.xml' /} | ||
#{/list} | ||
</events> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
#{include 'API/event.xml' /} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<talk> | ||
<order>${talk.orderInEvent}</order> | ||
<title>${talk.title}</title> | ||
<time>${talk.time}</time> | ||
<tags>${talk.tags}</tags> | ||
<teaser>${talk.teaser}</teaser> | ||
<speaker> | ||
<fullname>${talk.speaker.fullName}</fullname> | ||
<activity>${talk.speaker.activity?.escapeXml()}</activity> | ||
<company>${talk.speaker.company}</company> | ||
<url>${talk.speaker.url}</url> | ||
<personalUrl>${talk.speaker.personalUrl}</personalUrl> | ||
<description>${talk.speaker.description?.escapeXml()}</description> | ||
#{if (talk.speaker.photoUrl)} | ||
<photoUrl>${talk.speaker.photoUrl}</photoUrl> | ||
#{/if} | ||
#{else} | ||
<photoUrl>${talk.speaker.getGravatar().escapeXml()}</photoUrl> | ||
#{/else} | ||
</speaker> | ||
</talk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters