1. Benjamin Klüglein
  2. datenaustausch

Commits

Benjamin Klüglein  committed 5db5101

* Ignored new upload folder + db file.
* Changed download template

  • Participants
  • Parent commits 4720957
  • Branches upload_ticket

Comments (0)

Files changed (3)

File .hgignore

View file
  • Ignore whitespace
-.*pyc$
-.*pyo$
-.*swp$
+syntax: glob
+*.pyc
+*.pyo
+*.swp
 uploads
+uploads_db
+uploaded_files

File manage.py

  • Ignore whitespace
File contents unchanged.

File templates/upload/show_download.html

View file
  • Ignore whitespace
 <tr><td>Datei:</td><td>{{ download.name }}</td></tr>
 <tr><td>Beschreibung:</td><td>{{ download.description }}</td></tr>
 <tr><td>Dateiname:</td><td>{{ download.filename }}</td></tr>
-<tr><td>Passwort notwendig?:</td><td>{{ download.is_password_protected }}</td></tr>
+<tr><td>Passwort notwendig?:</td><td>{%if download.is_password_protected %}Ja {%else%} Nein{% endif %}</td></tr>
 <tr><td>Hinzugefügt:</td><td>{{ download.created_at }}</td></tr>
 </table>