From: Jan Szejko <janek37@gmail.com>
Date: Thu, 1 Mar 2018 15:00:45 +0000 (+0100)
Subject: subject location in dublin core
X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/a24770e8372cc1f4cadcc489967f04cf78069f99

subject location in dublin core
---

diff --git a/lib/librarian b/lib/librarian
index 2a2d17a71..eed7ff4ac 160000
--- a/lib/librarian
+++ b/lib/librarian
@@ -1 +1 @@
-Subproject commit 2a2d17a7156c427e128e5308a33f599147e9ee76
+Subproject commit eed7ff4acca144b1f60c7f6eff4795b49ad09301
diff --git a/src/catalogue/templates/catalogue/book_short.html b/src/catalogue/templates/catalogue/book_short.html
index 3ee07ce4b..a238904ab 100644
--- a/src/catalogue/templates/catalogue/book_short.html
+++ b/src/catalogue/templates/catalogue/book_short.html
@@ -70,6 +70,13 @@
             {% 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">
diff --git a/src/wolnelektury/static/scss/main/book_box.scss b/src/wolnelektury/static/scss/main/book_box.scss
index afcc79658..726bb5a21 100755
--- a/src/wolnelektury/static/scss/main/book_box.scss
+++ b/src/wolnelektury/static/scss/main/book_box.scss
@@ -355,7 +355,10 @@
       @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 {