subject location in dublin core
authorJan Szejko <janek37@gmail.com>
Thu, 1 Mar 2018 15:00:45 +0000 (16:00 +0100)
committerJan Szejko <janek37@gmail.com>
Thu, 1 Mar 2018 15:00:45 +0000 (16:00 +0100)
lib/librarian
src/catalogue/templates/catalogue/book_short.html
src/wolnelektury/static/scss/main/book_box.scss

index 2a2d17a..eed7ff4 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 2a2d17a7156c427e128e5308a33f599147e9ee76
+Subproject commit eed7ff4acca144b1f60c7f6eff4795b49ad09301
index 3ee07ce..a238904 100644 (file)
             {% endfor %}
           </span></span>
 
+          {% if book.extra_info.location %}
+            <span class="category">
+            <span class="mono"> {% trans "Region" %}:</span>&nbsp;<span class="book-box-tag">
+                {{ book.extra_info.location }}
+            </span></span>
+          {% endif %}
+
           {% if book.is_foreign %}
             <span class="category">
               <span class="mono"> {% trans "Language" %}:</span>&nbsp;<span class="book-box-tag">
index afcc796..726bb5a 100755 (executable)
       @include size(margin-bottom, 6px);
 
       @include min-screen($S_BOOK_SHORT_FULL) {
-        display: inline;
+        display: inline-block;
+        @include size(margin-top, 0px);
+        @include size(margin-bottom, 0px);
+        @include size(margin-right, 9px);
       }
 
       .mono {