Commit ef9d486ddf9143c0e1d3688b55eeb97ae8794a4c
Committed by
Charles Oliveira
1 parent
c91c43b0
Exists in
master
and in
39 other branches
Updated gitlab workaround
Showing
1 changed file
with
6 additions
and
14 deletions
Show diff stats
src/proxy/templates/proxy/gitlab.html
1 | 1 | {% extends 'base.html' %} |
2 | +{% load static %} | |
2 | 3 | |
3 | 4 | {% block head_js %} |
4 | -<!-- XXX / FIXME: Evil --> | |
5 | 5 | <script type="text/javascript"> |
6 | - $(function(){ | |
7 | - $('body').append('<script type="text/javascript" src="/static/third-party/bootstrap/js/bootstrap.min.js">'); | |
8 | - $('body').append('<script type="text/javascript" src="/static/third-party/jquery.cookie.js">'); | |
9 | - $('a').click(function(evt){ | |
10 | - url = $(this).attr('href'); | |
11 | - if(url != undefined && url.match(/\/redmine\//)){ window.location = url; } }); | |
12 | - $('.navbar a').click(function(evt){ | |
13 | - evt.preventDefault(); | |
14 | - url = $(this).attr('href'); | |
15 | - if(url != '#') | |
16 | - window.location = 'http://beta.softwarepublico.gov.br' + $(this).attr('href'); }); | |
17 | - $('div.panel-body div.automerge_widget').removeClass('hide'); | |
18 | - }); | |
6 | + $(function(){ | |
7 | + $('div.panel-body div.automerge_widget').removeClass('hide'); | |
8 | + }); | |
19 | 9 | </script> |
10 | +<script type="text/javascript" src="{% static 'third-party/bootstrap/js/bootstrap.min.js' %}"></script> | |
11 | +<script type="text/javascript" src="{% static 'third-party/jquery.cookie.js' %}"></script> | |
20 | 12 | {% endblock %} | ... | ... |