Skip to content

Commit 80a3955

Browse files
committed
Updated base template to match new mezzanine 1.3.0 release
1 parent 2c85aae commit 80a3955

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

mezzanine_slides/templates/base.html

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
{% load pages_tags mezzanine_tags i18n %}
2+
{% load pages_tags mezzanine_tags i18n future %}
33
<html>
44
<head>
55

@@ -11,8 +11,8 @@
1111
<link rel="shortcut icon" href="{{ STATIC_URL }}img/favicon.ico">
1212

1313
{% ifinstalled mezzanine.blog %}
14-
<link rel="alternate" type="application/rss+xml" title="RSS" href="{% url blog_post_feed "rss" %}">
15-
<link rel="alternate" type="application/atom+xml" title="Atom" href="{% url blog_post_feed "atom" %}">
14+
<link rel="alternate" type="application/rss+xml" title="RSS" href="{% url "blog_post_feed" "rss" %}">
15+
<link rel="alternate" type="application/atom+xml" title="Atom" href="{% url "blog_post_feed" "atom" %}">
1616
{% endifinstalled %}
1717

1818
{% compress css %}
@@ -40,15 +40,15 @@
4040
{% block extra_js %}{% endblock %}
4141
{% endcompress %}
4242
<!--[if lt IE 9]>
43-
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
43+
<script src="{{ STATIC_URL }}js/html5shiv.js"></script>
4444
<![endif]-->
4545

4646
{% block extra_head %}{% endblock %}
4747

4848
</head>
4949
<body id="{% block body_id %}body{% endblock %}">
5050

51-
<div class="navbar">
51+
<div class="navbar navbar-inverse">
5252
<div class="navbar-inner">
5353
<div class="container">
5454
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
@@ -59,9 +59,7 @@
5959
{% if settings.SITE_TITLE %}<a class="brand" href="/">{{ settings.SITE_TITLE }}</a>{% endif %}
6060
{% if settings.SITE_TAGLINE %}<p class="tagline">{{ settings.SITE_TAGLINE }}</p>{% endif %}
6161
<div class="nav-collapse">
62-
<form action="{% url search %}" class="navbar-search pull-right">
63-
<input class="search-query" placeholder="{% trans "Search" %}" type="text" name="q" value="{{ request.REQUEST.q }}">
64-
</form>
62+
{% search_form "all" %}
6563
{% page_menu "pages/menus/dropdown.html" %}
6664
</div>
6765
</div>
@@ -135,7 +133,7 @@ <h1>{% block title %}{% endblock %}</h1>
135133
{% trans "Theme by" %} <a href="http://twitter.github.com/bootstrap/">Bootstrap</a>
136134
{% ifinstalled mezzanine.mobile %}
137135
<span class="separator">|</span>
138-
<a href="{% url set_device "mobile" %}?next={{ request.path }}">{% trans "View Mobile Site" %}</a>
136+
<a href="{% url "set_device" "mobile" %}?next={{ request.path }}">{% trans "View Mobile Site" %}</a>
139137
{% endifinstalled %}
140138
</p>
141139
</div>

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name='mezzanine-slides',
6-
version='1.0.1',
6+
version='1.0.2',
77
license='Simplified BSD',
88

99
install_requires = [

0 commit comments

Comments
 (0)