From 979bcdffd43c92721fde6a17a2f729dfd5400d41 Mon Sep 17 00:00:00 2001
From: OzzieIsaacs
Date: Sun, 9 Jul 2017 12:41:09 +0200
Subject: [PATCH] Bugfix non working download links Bugfix missing divider in
detail page
---
cps/static/css/style.css | 2 +-
cps/templates/detail.html | 36 ++++++++++++++++++++----------------
2 files changed, 21 insertions(+), 17 deletions(-)
diff --git a/cps/static/css/style.css b/cps/static/css/style.css
index 8b299002..f0ea4cb1 100644
--- a/cps/static/css/style.css
+++ b/cps/static/css/style.css
@@ -44,7 +44,7 @@ span.glyphicon.glyphicon-tags {padding-right: 5px;color: #999;vertical-align: te
.btn-file input[type=file] {position: absolute; top: 0; right: 0; min-width: 100%; min-height: 100%; font-size: 100px; text-align: right; filter: alpha(opacity=0); opacity: 0; outline: none; background: white; cursor: inherit; display: block;}
.btn-toolbar .btn,.discover .btn { margin-bottom: 5px; }
-.button-link {color:#fff;}
+
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary{ background-color: #1C5484; }
.btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active { background-color: #89B9E2; }
.btn-toolbar>.btn+.btn, .btn-toolbar>.btn-group+.btn, .btn-toolbar>.btn+.btn-group, .btn-toolbar>.btn-group+.btn-group { margin-left:0px; }
diff --git a/cps/templates/detail.html b/cps/templates/detail.html
index 14389809..6d6ecdab 100644
--- a/cps/templates/detail.html
+++ b/cps/templates/detail.html
@@ -12,7 +12,6 @@
{% endif %}
{% if entry.tags|length > 0 %}
-
+
+
+
{% endif %}
{% if entry.publishers|length > 0 %}
@@ -132,8 +131,9 @@
{{_('Publishing date')}}: {{entry.pubdate|formatdate}}
{% endif %}
{% if cc|length > 0 %}
-
+
+
{% for c in cc %}
{% if entry['custom_column_' ~ c.id]|length > 0 %}
{{ c.name }}:
@@ -155,20 +155,21 @@
{% endif %}
{% endfor %}
-
+
{% endif %}
{% if not g.user.is_anonymous() %}
-
+
-
{% endif %}
@@ -178,7 +179,8 @@
{% endif %}
-
+
+
{% if g.user.is_authenticated %}
{% if g.user.shelf.all() or g.public_shelfes %}
@@ -220,18 +222,20 @@
{% endif %}
+
{% endif %}
{% if g.user.role_edit() %}
{% endif %}
+
-
{% endblock %}
{% block js %}