-
{{ album.name }}
-
{{ album.location }}
-
{{ album.album_date|date:"d.m.Y" }} • {{ album.photos_in_album }} photos
+ {% if album.cover %}
+
+ {% else %}
+
+ {% endif %}
+
+
+
{{ album.name }}
+
{{ album.location }}
+
{{ album.album_date|date:"d.m.Y" }} • {{ album.photos_in_album }} photos
+
-
{% endblock %}
{% block content %}
-
{{ album.name }}
-
-
-
{% include "./_pagination.html" %}
{% endblock %}
\ No newline at end of file
diff --git a/gallery/templates/gallery/album_list.html b/gallery/templates/gallery/album_list.html
index 4439a70..f900472 100644
--- a/gallery/templates/gallery/album_list.html
+++ b/gallery/templates/gallery/album_list.html
@@ -4,10 +4,6 @@
{% block title %} Gallery : Albums {% endblock %}
-
-{% block breadcrumb %}
-
Albums
-{% endblock %}
{% block content %}
diff --git a/gallery/templates/gallery/photo_detail.html b/gallery/templates/gallery/photo_detail.html
index d91d27a..f8cf95d 100644
--- a/gallery/templates/gallery/photo_detail.html
+++ b/gallery/templates/gallery/photo_detail.html
@@ -3,19 +3,12 @@
{% block title %} Gallery : Photo {% endblock %}
-
-{% block breadcrumb %}
-
Albums
-
{{ photo.album.name }}
-
{{ photo.slug }}
-{% endblock %}
-
{% block content %}
-
+
- {% if prev %}
-
« Prev
- {% endif %}
- {% if next %}
-
Next »
- {% endif %}
-
Views: {{ photo.views }}
-
Likes: {{ photo.likes }}
-
Taken: {{ photo.taken_at }}
-
Favorite: {{ photo.favorite }}
-
-
Download {{ photo.width }}x{{ photo.height }}
-
+
+
+
+
+
Photo Taken
+
{{ photo.taken_at|date:"d.m.Y H:i" }}
+
+
+
Views
+
{{ photo.views }}
+
+
+
Likes
+
{{ photo.likes }}
+
+
+
+
+
+ {% if prev %}
+
« Prev
+ {% endif %}
+
+
+ {% if next %}
+
Next »
+ {% endif %}
+
+
+
+
+
+