diff --git a/templates/base.html b/templates/base.html
index cc3e9dd5..c27231bd 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -14,14 +14,16 @@
-
+
{% block css %}
{% endblock %}
-
+
{% block preload_js %}
@@ -46,32 +48,40 @@
{% if user.is_authenticated %}
- - Home
- -
- Rigboard
-
-
+ - Home
+ -
+ Rigboard
+
+
{% endif %}
{% if perms.RIGS.view_invoice %}
-
Invoices
{% endif %}
@@ -84,7 +94,7 @@
{% if perms.RIGS.view_venue %}
- Venues
{% endif %}
-
+
-
@@ -177,7 +187,7 @@
jQuery(document).on('click', '.modal-href', function (e) {
$link = jQuery(this);
// Anti modal inception
- if($link.parents('#modal').length == 0) {
+ if ($link.parents('#modal').length == 0) {
e.preventDefault();
modaltarget = $link.data('target');
modalobject = "";
@@ -189,11 +199,11 @@
var easter_egg = new Konami();
- easter_egg.code = function() {
+ easter_egg.code = function () {
var s = document.createElement('script');
- s.type='text/javascript';
+ s.type = 'text/javascript';
document.body.appendChild(s);
- s.src='{% static "js/asteroids.min.js"%}';
+ s.src = '{% static "js/asteroids.min.js"%}';
ga('send', 'event', 'easter_egg', 'activated');
}
easter_egg.load();