File tree Expand file tree Collapse file tree
templates/partner_programs/admin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{% extends "admin/change_form.html" %}
2- {% load i18n %}
2+ {% load i18n %}
33
4- {% block submit_buttons_bottom %}
4+ {% block submit_buttons_bottom %}
55
66
77 {{ block.super }}
1111
1212
1313 < div class ="submit-row ">
14- < input type ="button " class ="export-btn " value ="Рассылка. " onclick ="mailing() "/>
14+ < input type ="button " class ="export-btn " value ="Рассылка " onclick ="mailing() "/>
1515 </ div >
16- < script src ="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js "> </ script >
1716 < script >
18- function export_profiles ( ) {
19- window . open ( "{% url 'admin:export_profiles' object_id %}" , '_blank' ) . focus ( )
20- }
21- function mailing ( ) {
22- window . open ( "{% url 'admin:partner_programs_mailing' object_id %}" , '_blank' ) . focus ( )
23- }
24- </ script >
17+ function export_profiles ( ) {
18+ window . open ( "{% url 'admin:export_profiles' object_id %}" , '_blank' ) . focus ( )
19+ }
20+
21+ function mailing ( ) {
22+ window . open ( "{% url 'admin:partner_programs_mailing' object_id %}" , '_blank' ) . focus ( )
23+ }
24+ </ script >
2525
2626{% endblock %}
2727
You can’t perform that action at this time.
0 commit comments