Skip to content

Commit

Permalink
Merge branch 'master' into bugfix/#902
Browse files Browse the repository at this point in the history
  • Loading branch information
amplifi authored Nov 10, 2016
2 parents 6d39766 + 250f46e commit 4f63170
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 15 deletions.
7 changes: 0 additions & 7 deletions cadasta/core/static/js/inline-manual-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@ Inline Manual Player, v2.34.1
http://inlinemanual.com/
*/

// User tracking

window.inlineManualTracking = {
uid: "{{ user.id }}",
username: "{{ user.username }}"
}

// Embed correct player for site; default is dev version

var myplayer = "c384a8ce835342a913859b2a50d1f6a9";
Expand Down
7 changes: 7 additions & 0 deletions cadasta/templates/core/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,13 @@
$(".alert-success").fadeTo(500, 0).slideUp(500, function(){ $(this).hide(); });
}, 5000);
</script>
<script>
// User tracking
window.inlineManualTracking = {
uid: "{{ user.id }}",
username: "{{ user.username }}"
}
</script>
<script type="text/javascript" src="{% static 'js/inline-manual-player.js' %}"></script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,7 @@ Inline Manual Player, v2.34.1
http://inlinemanual.com/
*/

// User tracking

window.inlineManualTracking = {
uid: "{{ user.id }}",
username: "{{ user.username }}"
}

// Embed correct player for site - myplayer variable
// Embed correct player for environment - myplayer variable

var myplayer = "{{ myplayer }}";

Expand Down

0 comments on commit 4f63170

Please sign in to comment.