-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add use of staticfiles and init custom Report add_view
- Loading branch information
Showing
5 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
$(document).ready(function () { | ||
$("#id_ticket").attr("disabled", "disabled"); | ||
$("#add_id_ticket").remove(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
{% overextends "admin/change_form.html" %} | ||
|
||
{% load staticfiles %} | ||
|
||
{% block extrahead %} | ||
{{ block.super }} | ||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.js" type="text/javascript"></script> | ||
{% include 'autocomplete_light/static.html' %} | ||
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> | ||
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css"> | ||
<script src="//code.jquery.com/ui/1.11.0/jquery-ui.js" type="text/javascript"></script> | ||
<script src="/static/helpdesk/js/helpdesk.js" type="text/javascript"></script> | ||
<script src="{% static "helpdesk/js/helpdesk.js" %}" type="text/javascript"></script> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
{% overextends "admin/helpdesk/change_form.html" %} | ||
|
||
{% load helpdesk_tags i18n %} | ||
{% load helpdesk_tags i18n staticfiles %} | ||
|
||
{% block extrahead %} | ||
{{ block.super }} | ||
<script src="{% static "helpdesk/js/report.js" %}" type="text/javascript"></script> | ||
{% endblock %} | ||
|
||
{% block after_field_sets %}Ciao{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters