Commit 5c473985 authored by Dmitry Shelepnev's avatar Dmitry Shelepnev
Browse files

Fix issue #24. Hide footer for unregistered users

parent 6a605a58
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -10,8 +10,6 @@
  "homepage": "http://foundation.zurb.com",
  "dependencies": {
    "foundation-sites": "~6.1.2",
    "motion-ui": "~1.1.0",
    "foundation-sites": "~6.2.0",
    "motion-ui": "~1.2.2"
  },
  "ignore": [
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ from constance import config

loglevels={'debug':logging.DEBUG,'info':logging.INFO,'warning':logging.WARNING,'error':logging.ERROR,'critical':logging.CRITICAL,'none':logging.NOTSET}

VERSION = "0.40"
VERSION = "0.41-dev"
TITLE = getattr(settings, "SOPDS_TITLE", "SimpleOPDS")
SUBTITLE = getattr(settings, "SOPDS_SUBTITLE", "SimpleOPDS Catalog by www.sopds.ru. Version %s."%VERSION)
ICON = getattr(settings, "SOPDS_ICON", "/static/images/favicon.ico")
+2 −0
Original line number Diff line number Diff line
{% load i18n %}

{% if user.is_authenticated or not sopds_auth %}
<div class="row expanded callout secondary" style="margin:0; padding-top:0">
<div class="large-4 columns" style="margin-top:1rem;">
<h5><a href="{% url "web:searchbooks" %}?searchtype=u">{% trans "BOOKSHELF" %}</a></h5>
@@ -45,6 +46,7 @@
	</div>	
</div>
</div>
{% endif %}

<div class="large-12 columns sopdsmenu" style="margin:0;padding:0;">
	<div class="medium-6 columns">