From 9431179d3977dfe6a2d387c19e1b5d8ab0bfc71a Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 7 Dec 2016 22:46:53 +0300 Subject: juick-www: fix rss layout --- juick-www/src/main/resources/layouts/rss.xml | 42 ++++++++++++++-------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'juick-www/src/main/resources/layouts') diff --git a/juick-www/src/main/resources/layouts/rss.xml b/juick-www/src/main/resources/layouts/rss.xml index 12f7375b..23866c8a 100644 --- a/juick-www/src/main/resources/layouts/rss.xml +++ b/juick-www/src/main/resources/layouts/rss.xml @@ -2,37 +2,37 @@ - - {{ user.getUName() }} - Juick - http://juick.com/{{ user.getUName() }}/ - The latest messages by @{{ user.getUName() }} at Juick + + {{ user.getName() }} - Juick + http://juick.com/{{ user.getName() }}/ + The latest messages by @{{ user.getName() }} at Juick - http://i.juick.com/a/{{ user.getUID() }}.png - {{ user.getUName() }} - Juick - http://juick.com/{{ user.getUName() }}/ + http://i.juick.com/a/{{ user.getUid() }}.png + {{ user.getName() }} - Juick + http://juick.com/{{ user.getName() }}/ {% for msg in msgs %} - http://juick.com/{{ msg.getUser().getUName() }}/{{ msg.getMID() }} - http://juick.com/{{ msg.getUser().getUName() }}/{{ msg.getMID() }} - <![CDATA[@{{ msg.getUser().getUName() }}: {% for tag in msg.tags %} *{{ tag }}{% endfor %}]]> + http://juick.com/{{ msg.getUser().getName() }}/{{ msg.getMid() }} + http://juick.com/{{ msg.getUser().getName() }}/{{ msg.getMid() }} + <![CDATA[@{{ msg.getUser().getName() }}: {% for tag in msg.getTags() %} *{{ tag }}{% endfor %}]]> {{ sdfRSS.format(msg.getDate()) }} - http://juick.com/{{ msg.getUser().getUName() }}/{{ msg.getMID() }} - {% for tag in msg.tags %} + http://juick.com/{{ msg.getUser().getName() }}/{{ msg.getMid() }} + {% for tag in msg.getTags() %} {{ tag }} {% endfor %} - {% if msg.AttachmentType is not empty %} - {% if msg.AttachmentType == "jpg" %} - - - {% elseif msg.AttachmentType == "png" %} - - + {% if msg.getAttachmentType() is not empty %} + {% if msg.getAttachmentType() == "jpg" %} + + + {% elseif msg.getAttachmentType() == "png" %} + + {% endif %} {% endif %} - + {% endfor %} - \ No newline at end of file + -- cgit v1.2.3