parent
5e167c5526
commit
f666cfcb15
|
|
@ -70,7 +70,17 @@
|
||||||
<td>{{standard.last_modified_by.first_name}} {{standard.last_modified_by.last_name}}</td>
|
<td>{{standard.last_modified_by.first_name}} {{standard.last_modified_by.last_name}}</td>
|
||||||
<td>{{standard.last_modified_on|date:"d.m.Y, H:i"}}</td>
|
<td>{{standard.last_modified_on|date:"d.m.Y, H:i"}}</td>
|
||||||
<td>{{standard.public|yesno:"Öffentlich,Nicht öffentlich"}}</td>
|
<td>{{standard.public|yesno:"Öffentlich,Nicht öffentlich"}}</td>
|
||||||
<td><a href="{% url 'standard-update' standard.pk %}" class="btn"><i class="fas fa-cog"></i></a></td>
|
<td>
|
||||||
|
<div class="dropdown no-arrow">
|
||||||
|
<a class="dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
|
<i class="fas fa-ellipsis-v fa-sm fa-fw text-gray-400"></i>
|
||||||
|
</a>
|
||||||
|
<div class="dropdown-menu dropdown-menu-right shadow animated--fade-in" aria-labelledby="dropdownMenuLink">
|
||||||
|
<a class="dropdown-item" href="{% url 'standard-update' standard.pk %}">Bearbeiten</a>
|
||||||
|
<a class="dropdown-item text-danger" href="{% url 'standard-delete' standard.pk %}" >Löschen</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -418,7 +418,7 @@ def support(request):
|
||||||
|
|
||||||
|
|
||||||
ostdata = {
|
ostdata = {
|
||||||
"topicid" : '12',
|
"topicId" : '12',
|
||||||
"name": name,
|
"name": name,
|
||||||
"email": mail,
|
"email": mail,
|
||||||
"subject": 'Digitale Agentur: '+problemconc,
|
"subject": 'Digitale Agentur: '+problemconc,
|
||||||
|
|
@ -427,10 +427,12 @@ def support(request):
|
||||||
}
|
}
|
||||||
|
|
||||||
json_data = json.dumps(ostdata)
|
json_data = json.dumps(ostdata)
|
||||||
print(json_data)
|
|
||||||
r = requests.post("https://support.vh-solutions.de/api/http.php/tickets.json", data=json_data, headers=headers)
|
|
||||||
|
|
||||||
messages.warning(request, f'Supportanfrage Respnose: ' + str(r))
|
r = requests.post("https://support.vh-solutions.de/api/http.php/tickets.json", data=json_data, headers=headers)
|
||||||
|
if(r != 201):
|
||||||
|
messages.warning(request, f'Supportanfrage fehlgeschlagen!')
|
||||||
|
else:
|
||||||
|
messages.warning(request, f'Supportanfrage gesendet. Ticket-ID: ' + str(r))
|
||||||
return render(request, 'users/support_done.html', context)
|
return render(request, 'users/support_done.html', context)
|
||||||
else:
|
else:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue