Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #12 from OpenUpSA/openupify
Browse files Browse the repository at this point in the history
code4sa to openup
  • Loading branch information
Guus Hoekman authored May 31, 2017
2 parents 516c17f + a92e230 commit b552f5a
Show file tree
Hide file tree
Showing 6 changed files with 151 additions and 13 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"name": "code4sa-django-template",
"version": "0.0.1",
"authors": [
"Greg Kempe <greg@code4sa.org>"
"Greg Kempe <greg@openup.org.za>"
],
"description": "Code4SA Django Template",
"moduleType": [
"globals"
],
"license": "MIT",
"homepage": "https://github.com/Code4SA/django-template",
"homepage": "https://github.com/OpenUpSA/django-template",
"private": true,
"ignore": [
"**/.*",
Expand Down
2 changes: 1 addition & 1 deletion nearby/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@


# Email
ADMINS = [('Code4SA', 'webapps@code4sa.org')]
ADMINS = [('Code4SA', 'webapps@openup.org.za')]
DEFAULT_FROM_EMAIL = ADMINS[0][1]
SERVER_EMAIL = DEFAULT_FROM_EMAIL

Expand Down
6 changes: 3 additions & 3 deletions nearby/static/bower_components/code4sa-styles/.bower.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "code4sa-styles",
"version": "0.9.4",
"homepage": "https://github.com/Code4SA/styles",
"homepage": "https://github.com/OpenUpSA/styles",
"authors": [
"Greg Kempe <greg@code4sa.org>",
"Greg Kempe <greg@openup.org.za>",
"Fritz Jooste <fritz@fritzjooste.com>"
],
"description": "Code for South Africa Website Styleguide",
Expand All @@ -18,7 +18,7 @@
"tag": "v0.9.4",
"commit": "3b68981597d74d51dbc91e2b5393e0e548225c9e"
},
"_source": "git://github.com/Code4SA/styles.git",
"_source": "git://github.com/OpenUpSA/styles.git",
"_target": "~0.9.4",
"_originalSource": "code4sa-styles",
"_direct": true
Expand Down
6 changes: 3 additions & 3 deletions nearby/static/bower_components/code4sa-styles/bower.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "code4sa-styles",
"version": "0.9.4",
"homepage": "https://github.com/Code4SA/styles",
"homepage": "https://github.com/OpenUpSA/styles",
"authors": [
"Greg Kempe <greg@code4sa.org>",
"Greg Kempe <greg@openup.org.za>",
"Fritz Jooste <fritz@fritzjooste.com>"
],
"description": "Code for South Africa Website Styleguide",
"description": "OpenUp Website Styleguide",
"license": "MIT",
"ignore": [
"**/.*",
Expand Down
138 changes: 138 additions & 0 deletions nearby/static/images/openup-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions nearby/templates/councillor/_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h3>Find your ward councillor</h3>
<a class="logo" href="http://www.pa.org.za" target="_blank"><img src="{% static 'images/pa-logo.png' %}"></a>
</div>
<div class="col-xs-4">
<a class="logo" href="http://code4sa.org" target="_blank"><img src="{% static 'bower_components/code4sa-styles/images/code4sa_logo.png' %}"></a>
<a class="logo" href="https://openup.org.za" target="_blank"><img src="{% static 'images/openup-logo.svg' %}"></a>
</div>
</div>
</div>
Expand All @@ -47,9 +47,9 @@ <h3>Find your ward councillor</h3>

<p class="text-right">
<a href="#embed-modal" data-toggle="modal">Add this to your website</a> |
<a href="mailto:info@code4sa.org">Get in touch</a> |
<a href="mailto:info@openup.org.za">Get in touch</a> |
Data from the <a href="https://www.elections.org.za/content/For-voters/who-is-my-councillor-/" target="_blank">IEC</a> and others |
<a href="https://github.com/Code4SA/nearby" target="_blank">Source on GitHub</a>
<a href="https://github.com/OpenUpSA/nearby" target="_blank">Source on GitHub</a>
</p>

<div class="modal fade" id="embed-modal">
Expand All @@ -66,7 +66,7 @@ <h4 class="modal-title">Add this to your website</h4>
&lt;div id="councillor-iframe"&gt;&lt;/div&gt;
&lt;script type="text/javascript" src="https://nearby.code4sa.org/static/councillor-embed.js"&gt;&lt;/script&gt;
</pre>
<p>Contact <a href="mailto:info@code4sa.org">info@code4sa.org</a> with any questions.</p>
<p>Contact <a href="mailto:info@openup.org.za">info@openup.org.za</a> with any questions.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
Expand Down

0 comments on commit b552f5a

Please sign in to comment.