Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions project/core/templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

{% block page_title %}{% trans "About Us" %}{% endblock page_title %}

{% block backbone_template %}
{% block content %}
<script id="about-template" type="text/template">
<header>
<div class="content-header center">
Expand Down Expand Up @@ -185,17 +185,17 @@ <h3 class="title">{% trans "Sponsors" %} </h3>
</div>
</main>
</script>
{% endblock backbone_template %}
{% endblock content %}

{% block content %}
{% include "static_nav.html" %}
<div id="about"></div>
{% endblock content %}

{% block extra_js %}
{% block content%}
<!-- Backbone Views File -->
<script src="{% static "js/static/about_view.js" %}" type="text/javascript"></script>
<script type="text/javascript">
var aboutView = new cw.AboutView();
</script>
{% endblock extra_js %}
{% endblock content%}
8 changes: 4 additions & 4 deletions project/core/templates/general_message.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

{% block page_title %}{{ title }}{% endblock page_title %}

{% block backbone_template %}
{% block content%}
<script id="general-template" type="text/template">
<div id="general-section" class="center container section">
<div class="row">
Expand All @@ -29,18 +29,18 @@
</div>
</div>
</script>
{% endblock backbone_template %}
{% endblock content %}

{% block body_id %}general_wrapper{% endblock body_id %}
{% block content %}
<div id="general">
</div>
{% endblock content %}

{% block extra_js %}
{% block content %}
<!-- Backbone Views File -->
<script type="text/javascript" src="{% static "js/general_view.js" %}"></script>
<script type="text/javascript">
var generalView = new cw.GeneralView();
</script>
{% endblock extra_js %}
{% endblock content %}
16 changes: 8 additions & 8 deletions project/core/templates/how_it_works.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

<!-- How it Works -->
{% block extra_css %}
<link type="text/css" rel="stylesheet/less" href="{% static "less/how_it_works.less" %}"/>
<link type="text/css" rel="stylesheet/less" href="{% static " less/how_it_works.less" %}" />
{% endblock extra_css %}

{% block backbone_template %}
{% block content %}
<script id="howitworks-template" type="text/template">
<div class="content-header center">
<div class="container section">
Expand Down Expand Up @@ -38,17 +38,17 @@ <h4 class="dark-purple">{% trans "Still not sure about something in CiviWiki?" %
</div>
</div>
</script>
{% endblock backbone_template %}
{% endblock content%}

{% block content %}
{% include "static_nav.html" %}
<div id="howitworks"></div>
<div id="howitworks"></div>
{% endblock content %}

{% block extra_js %}
{% block content %}
<!-- Backbone Views File -->
<script src="{% static "js/static/how_it_works_view.js" %}" type="text/javascript"></script>
<script src="{% static " js/static/how_it_works_view.js" %}" type="text/javascript"></script>
<script type="text/javascript">
var howitworksView = new cw.HowItWorksView();
var howitworksView = new cw.HowItWorksView();
</script>
{% endblock extra_js %}
{% endblock content %}
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{% verbatim %}
{{# if (notification.length > 0) { }}
{% block content %}
{% if notification.length > 0 %}
<div class="container">
<div class="section">
{% for notifications in notification %}
<div class="col s12">
<li>{{notifications}}</li>
</div>
{% endfor %}
</div>
</div>
{% else %}
<div class="section no-state">
<div class="container">
<div class="section">
{{# _.each(notification, function (n) { }}
<div class="col s12">
{{= cw.underscorePartial('notification-item-template', n)}}
</div>
{{# }, this); }}
</div>
</div>
{{# } else { }}
<div class="section no-state">
<div class="container">
<div class="section">
<div class="center title-lato grey-text">NO NOTIFICATIONS</div>
</div>
</div>
<div class="center title-lato grey-text">NO NOTIFICATIONS</div>
</div>
{{# } }}
{% endverbatim %}
</div>
</div>
{% endif %}
{% endblock content %}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{% verbatim %}
{% block content %}
<div class="notification-item">
<span class="link-lato gray-text">{{time}}</span>
<span class="header-lato">{{ popup_string }}</span>
{{# if (link) { }}
{%if link%}
<a href="{{ link }}" class="link-lato">LINK</a>
{{# } }}
{%endif%}
</div>
{% endverbatim %}
{% endblock content%}
8 changes: 4 additions & 4 deletions project/core/templates/support_us.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

{% block page_title %}{% trans "Support Us" %}{% endblock page_title %}

{% block backbone_template %}
{% block content %}
<script id="supportus-template" type="text/template">
<!-- Main Picture and title using Parallax -->
<div class="parallax-container">
Expand Down Expand Up @@ -122,14 +122,14 @@ <h4 class="center">{% trans "Spread the Word" %} </h4>
</div>

</script>
{% endblock backbone_template %}
{% endblock content %}

{% block content %}
{% include "static_nav.html" %}
<div id="supportus"></div>
{% endblock content %}

{% block extra_js %}
{% block content %}
<!-- Backbone Views File -->
<script src="{% static "js/static/support_us_view.js" %}" type="text/javascript"></script>
<script type="text/javascript">
Expand All @@ -139,4 +139,4 @@ <h4 class="center">{% trans "Spread the Word" %} </h4>

});
</script>
{% endblock extra_js %}
{% endblock content %}