mirror of https://github.com/kevachat/webapp.git
ghost
11 months ago
3 changed files with 134 additions and 0 deletions
@ -0,0 +1,28 @@
@@ -0,0 +1,28 @@
|
||||
{% extends 'default/layout.html.twig' %} |
||||
{% block head_title_content %}{{ 'Users' | trans }} - {{ app.name }}{% endblock %} |
||||
{% block main_content %} |
||||
{% if list | length %} |
||||
<ul> |
||||
{% for user in list %} |
||||
<li> |
||||
<div> |
||||
<strong> |
||||
{{ user.name }} |
||||
</strong> |
||||
<i style="float:right">{# @TODO #} |
||||
{#{{ 'at block' | trans }}#} {{ user.height }} |
||||
</i> |
||||
</div> |
||||
</li> |
||||
{% endfor %} |
||||
</ul> |
||||
{% else %} |
||||
<ul> |
||||
<li> |
||||
<div> |
||||
{{ 'users not found or database locked by new transaction' | trans }} |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
{% endif %} |
||||
{% endblock %} |
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> |
||||
<channel> |
||||
<atom:link href="{{ url('user_list') }}" rel="self" type="application/rss+xml"></atom:link> |
||||
<title>{{ 'Users' | trans }} - {{ app.name }}</title> |
||||
<link>{{ url('user_list') }}</link> |
||||
{% for user in list %} |
||||
<item> |
||||
<title>@{{ user.name }} {{ 'joined' | trans }} {{ app.name }}</title> |
||||
<guid>{{ url('user_list', { _fragment : user.name }) }}</guid> |
||||
<link>{{ url('user_list', { _fragment : user.name }) }}</link> |
||||
<description>{{ "Let's welcome" | trans }} @{{ user.name }}!</description> |
||||
</item> |
||||
{% endfor %} |
||||
</channel> |
||||
</rss> |
Loading…
Reference in new issue