]> git.parisson.com Git - mezzo.git/commitdiff
add date to post card
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 13 Apr 2016 08:56:57 +0000 (10:56 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 13 Apr 2016 08:56:57 +0000 (10:56 +0200)
app/festival/static/css/index.css
app/festival/static/scss/modules/artist-card.scss
app/templates/blog/includes/post_card.html
lib/mezzanine-agenda

index 5f8aa370164edc1533f81aa9b4733280bdc4a070..2e756e6096bde416715760106d422e423a7b7f2a 100755 (executable)
@@ -2957,20 +2957,32 @@ th {
   font: 700 0.7rem "Interstate", "Helvetica Neue", Helvetica, Arial, sans-serif;
 }
 
-/* line 88, /home/yomguy/dev/IRCAM/Manifeste/app/festival/static/scss/modules/artist-card.scss */
+/* line 86, /home/yomguy/dev/IRCAM/Manifeste/app/festival/static/scss/modules/artist-card.scss */
+.artist__item__date {
+  display: block;
+  width: 100%;
+  padding: 0rem;
+  text-align: center;
+  background: white;
+  margin: 0;
+  font-size: 0.85rem;
+  color: #888;
+}
+
+/* line 99, /home/yomguy/dev/IRCAM/Manifeste/app/festival/static/scss/modules/artist-card.scss */
 .artist__figure {
   position: relative;
   padding: 0;
   margin: 0;
 }
 
-/* line 92, /home/yomguy/dev/IRCAM/Manifeste/app/festival/static/scss/modules/artist-card.scss */
+/* line 103, /home/yomguy/dev/IRCAM/Manifeste/app/festival/static/scss/modules/artist-card.scss */
 .artist__figure img {
   display: block;
   position: relative;
 }
 
-/* line 97, /home/yomguy/dev/IRCAM/Manifeste/app/festival/static/scss/modules/artist-card.scss */
+/* line 108, /home/yomguy/dev/IRCAM/Manifeste/app/festival/static/scss/modules/artist-card.scss */
 .artist__figure__copyright {
   position: absolute;
   bottom: 0;
index 0c3bd2b7287caf03f855b508fb24ed6413f1283b..1d1e565e9b43c659979881fa2bd6791ff6b861f7 100644 (file)
         }
       }
   }
+  &__date {
+      display: block;
+      width: 100%;
+      padding: 0rem;
+      text-align: center;
+    //   text-transform: uppercase;
+      background: white;
+      margin: 0;
+      font-size: 0.85rem;
+      color: #888;
+  }
 }
 
   .artist__figure {
       color: white;
       text-shadow: 1px 1px 1px $black;
     }
-  }
\ No newline at end of file
+  }
index 3b034c794e84e4f198dc2b86efe6d70c4e4151d1..0bc60a18bbf523f76b61ac71615f8ceac8211cce 100644 (file)
@@ -11,6 +11,7 @@
                     {{ post.title }}
                 </span>
             </h3>
+            <span class="artist__item__date">{{ post.publish_date|date:"DATE_FORMAT" }}</span>
         </a>
     </div>
 </div>
index 8247487936cf09627ac29428e16fd438c2a27a4d..304ae3fe4e626ae777cc73f60334f45d479cab66 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 8247487936cf09627ac29428e16fd438c2a27a4d
+Subproject commit 304ae3fe4e626ae777cc73f60334f45d479cab66