diff --git a/sourcing/templates/home.html b/sourcing/templates/home.html index 1dd66d4..5dc06c4 100644 --- a/sourcing/templates/home.html +++ b/sourcing/templates/home.html @@ -5,32 +5,37 @@ {% block content %}

{{ self.title() }}

- - - - - - - - - - +
+
+
+ item type
+ {% for item_type in 'xanadoc', 'xanalink', 'sourcedoc' %} +
+ {% endfor %} +
+
{% for doc in docs %} -
- - - - - +
+
{{ doc.title() }} + — {{ doc.user.username }} — {{ doc.created | datetime }}
+
+

+ {%- for line in doc.snippet().splitlines() -%} + {{ nbsp_at_start(line) }}
+ {%- endfor -%} +

+
+
{% endfor %} - -
itemtypeuserdate
{{ doc.title() }}{{ doc.type }}{{ doc.user.username }}{{ doc.created | datetime }}
+ + +

new source document new xanalink new xanadoc -{# +{# upload a source document #}