app hinzu
This commit is contained in:
parent
9ff9c9696b
commit
ea1f2eebf0
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
<!-- Custom fonts for this template-->
|
||||
|
||||
<link rel="canonical" href="https://www.digitale-agentur.com">
|
||||
<link rel="canonical" href="https://app.digitale-agentur.com">
|
||||
<!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.js" type="text/javascript"></script>-->
|
||||
<script src="{%static 'users/js/jquery.js' %}" type="text/javascript"></script>
|
||||
|
||||
|
|
|
|||
|
|
@ -1189,7 +1189,7 @@ def NewUserFirstStep(request):
|
|||
if newuserform.is_valid():
|
||||
if(request.POST.get("sendmailnewuser")):
|
||||
msg_html = render_to_string('users/register_mail.html', {'username': newuserform.cleaned_data.get('first_name') + " " + newuserform.cleaned_data.get('last_name')})
|
||||
send_mail(request.user.profile.agency.name + ' Account', 'Hallo ' + newuserform.cleaned_data.get('first_name') + ' ' + newuserform.cleaned_data.get('last_name') + '! Bitte setzen sie sich auf https://digitale-agentur.com/password-reset/ ein Passwort.','noreply@digitale-agentur.com',[newuserform.cleaned_data.get('email')],html_message=msg_html,fail_silently=True)
|
||||
send_mail(request.user.profile.agency.name + ' Account', 'Hallo ' + newuserform.cleaned_data.get('first_name') + ' ' + newuserform.cleaned_data.get('last_name') + '! Bitte setzen sie sich auf https://app.digitale-agentur.com/password-reset/ ein Passwort.','noreply@digitale-agentur.com',[newuserform.cleaned_data.get('email')],html_message=msg_html,fail_silently=True)
|
||||
newuser = newuserform.save(commit=False)
|
||||
newuser.username = newuser.email
|
||||
newprofile = Profile(agency=request.user.profile.agency, parent=None)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
<hr>
|
||||
<p><small>Hinweis zum Weblink: Bitte setzen Sie den vollständigen Link in das Formular!<br/>Z.B. <i>https://digitale-agentur.com</i></small></p>
|
||||
<p><small>Hinweis zum Weblink: Bitte setzen Sie den vollständigen Link in das Formular!<br/>Z.B. <i>https://app.digitale-agentur.com</i></small></p>
|
||||
<button type="submit" class="btn btn-primary">Quicklink anlegen</button>
|
||||
<a class="btn" href="{% url 'organizer-management' %} ">Abbrechen</a>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
<hr>
|
||||
<p><small>Hinweis zum Weblink: Bitte setzen Sie den vollständigen Link in das Formular!<br/>Z.B. <i>https://digitale-agentur.com</i>
|
||||
<p><small>Hinweis zum Weblink: Bitte setzen Sie den vollständigen Link in das Formular!<br/>Z.B. <i>https://app.digitale-agentur.com</i>
|
||||
</small> </p>
|
||||
|
||||
<button type="submit" class="btn btn-primary">Quicklink aktualisieren</button>
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ def loaddefaultql(request):
|
|||
["ERGO Meine Druckstücke", "https://www.ergo-meine-druckstuecke.de/?client-check=2 "],
|
||||
["ERGO Vertriebsportal", "https://vertriebsportal.ergo.com/"],
|
||||
["myVVE", "https://www.myvve.de/"],
|
||||
["Wiki", "https://wiki.digitale-agentur.com/"]
|
||||
["Wiki", "https://digitale-agentur.com/"]
|
||||
]
|
||||
for ele in defaultlinks:
|
||||
print(ele[0] + " " + ele[1])
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
</table>
|
||||
<hr>
|
||||
<h4>Externer Zugang</h4>
|
||||
<p>Um die Notfallhilfe Außenstehenden zur Verfügung zu stellen, leiten Sie diesen Link weiter: <a href="https://digitale-agentur.com/rd/recover" target="_blank">https://digitale-agentur.com/rd/recover</a>. Geben Sie dort den Sicherheitsschlüssel und das Passwort ein! Stellen Sie sicher, dass diese Daten an einem sicheren Ort in Kopie vorliegen!</p>
|
||||
<p>Um die Notfallhilfe Außenstehenden zur Verfügung zu stellen, leiten Sie diesen Link weiter: <a href="https://app.digitale-agentur.com/rd/recover" target="_blank">https://app.digitale-agentur.com/rd/recover</a>. Geben Sie dort den Sicherheitsschlüssel und das Passwort ein! Stellen Sie sicher, dass diese Daten an einem sicheren Ort in Kopie vorliegen!</p>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -350,7 +350,7 @@ def StandardAdd(request, id=False):
|
|||
#tempnetwork.standards.add(standard)
|
||||
agencynetworks_standard_in.append(tempnetwork)
|
||||
|
||||
print(agencynetworks_standard_in)
|
||||
#print(agencynetworks_standard_in)
|
||||
|
||||
# Wenn Standard im gewünschten Verbund, dann rein, ansonsten raus
|
||||
for a in agencynetworks:
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
<!-- Custom fonts for this template-->
|
||||
|
||||
<link rel="canonical" href="https://www.digitale-agentur.com">
|
||||
<link rel="canonical" href="https://app.digitale-agentur.com">
|
||||
<!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.js" type="text/javascript"></script>-->
|
||||
<script src="{%static 'users/js/jquery.js' %}" type="text/javascript"></script>
|
||||
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@
|
|||
<div style="font-family:Roboto;font-size:18px;line-height:1;text-align:left;color:#000000;">
|
||||
<p>Hallo {{username}},</p>
|
||||
<p>für Sie wurde ein Account in der Agentur <b>{{user.profile.agency.name}}</b> erstellt. Bitte gehen Sie auf folgenden Link, um ein Passwort zu erstellen:</p>
|
||||
<p><a href="https://digitale-agentur.com/password-reset">https://digitale-agentur.com/password-reset</a></p>
|
||||
<p><a href="https://app.digitale-agentur.com/password-reset">https://app.digitale-agentur.com/password-reset</a></p>
|
||||
<p>Mit freundlichen Grüßen</p>
|
||||
<p>Ihr Team von Digitale Agentur</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<mj-text font-size="18px" font-family="Roboto">
|
||||
<p>Hallo {{username}},</p>
|
||||
<p>für Sie wurde ein Account in der Agentur <b>{{user.profile.agency.name}}</b> erstellt. Bitte gehen Sie auf folgenden Link, um ein Passwort zu erstellen:</p>
|
||||
<p><a href="https://digitale-agentur.com/password-reset">https://digitale-agentur.com/password-reset</a></p>
|
||||
<p><a href="https://app.digitale-agentur.com/password-reset">https://app.digitale-agentur.com/password-reset</a></p>
|
||||
|
||||
<p>Mit freundlichen Grüßen</p>
|
||||
<p>Ihr Team von Digitale Agentur</p>
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
Hallo {{username}},<br /><br />
|
||||
für Sie wurde ein Account in der Agentur <b>{{user.profile.agency.name}}</b> erstellt. Bitte gehen Sie auf folgenden Link, um ein Passwort zu erstellen:
|
||||
<p>
|
||||
<a href="https://digitale-agentur.com/password-reset">https://digitale-agentur.com/password-reset</a>
|
||||
<a href="https://app.digitale-agentur.com/password-reset">https://app.digitale-agentur.com/password-reset</a>
|
||||
</p>
|
||||
Weitere Informationen erhalten Sie von Ihrem Agenturleiter.
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<!-- Custom fonts for this template-->
|
||||
|
||||
<link rel="canonical" href="https://www.digitale-agentur.com">
|
||||
<link rel="canonical" href="https://app.digitale-agentur.com">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.js"></script>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<!-- Custom fonts for this template-->
|
||||
|
||||
<link rel="canonical" href="https://www.digitale-agentur.com">
|
||||
<link rel="canonical" href="https://app.digitale-agentur.com">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@
|
|||
<td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;">
|
||||
<div style="font-family:Roboto;font-size:18px;line-height:1;text-align:left;color:#000000;">
|
||||
<p>Hallo {{username}},</p> Ihre Agentur wurde erstellt. Sie können sich nun hier anmelden und Ihre Agentur gestalten:
|
||||
<p> <a href="https://digitale-agentur.com">https://digitale-agentur.com</a> </p> <br /> Ihr Benutzername: {{ username_log }} <br /> Weitere Informationen erhalten Sie in unserem Wiki <a href="https://wiki.digitale-agentur.com/">https://wiki.digitale-agentur.com/</a> oder per E-Mail an support@digitale-agentur.com! </p>
|
||||
<p> <a href="https://app.digitale-agentur.com">https://app.digitale-agentur.com</a> </p> <br /> Ihr Benutzername: {{ username_log }} <br /> Weitere Informationen erhalten Sie in unserem Wiki <a href="https://digitale-agentur.com/">https://digitale-agentur.com/</a> oder per E-Mail an support@digitale-agentur.com! </p>
|
||||
<p>Mit freundlichen Grüßen</p>
|
||||
<p>Ihr Team von Digitale Agentur</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -10,12 +10,12 @@
|
|||
<p>Hallo {{username}},</p>
|
||||
Ihre Agentur wurde erstellt. Sie können sich nun hier anmelden und Ihre Agentur gestalten:
|
||||
<p>
|
||||
<a href="https://digitale-agentur.com">https://digitale-agentur.com</a>
|
||||
<a href="https://app.digitale-agentur.com">https://app.digitale-agentur.com</a>
|
||||
</p>
|
||||
<br />
|
||||
Ihr Benutzername: {{ username_log }}
|
||||
<br />
|
||||
Weitere Informationen erhalten Sie in unserem Wiki <a href="https://wiki.digitale-agentur.com/">https://wiki.digitale-agentur.com/</a> oder per E-Mail an support@digitale-agentur.com!
|
||||
Weitere Informationen erhalten Sie in unserem Wiki <a href="https://digitale-agentur.com/">https://digitale-agentur.com/</a> oder per E-Mail an support@digitale-agentur.com!
|
||||
</p>
|
||||
|
||||
<p>Mit freundlichen Grüßen</p>
|
||||
|
|
|
|||
|
|
@ -12,12 +12,12 @@
|
|||
Hallo {{username}},<br />
|
||||
Ihre Agentur wurde erstellt. Sie können sich nun hier anmelden und ihre Agentur gestalten:
|
||||
<p>
|
||||
<a href="https://digitale-agentur.com">https://digitale-agentur.com</a>
|
||||
<a href="https://app.digitale-agentur.com">https://app.digitale-agentur.com</a>
|
||||
</p>
|
||||
<br />
|
||||
Ihr Benutzername: {{ username_log }}
|
||||
<br />
|
||||
Weitere Informationen erhalten Sie in unserem Wiki <a href="https://wiki.digitale-agentur.com/">https://wiki.digitale-agentur.com/</a> oder per E-Mail an support@digitale-agentur.com!
|
||||
Weitere Informationen erhalten Sie in unserem Wiki <a href="https://digitale-agentur.com/">https://digitale-agentur.com/</a> oder per E-Mail an support@digitale-agentur.com!
|
||||
</p>
|
||||
<p>
|
||||
Vielen Dank, dass Sie die Plattform <i>Digitale Agentur</i> nutzen!
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
{% block content %}
|
||||
<div class="content-section col-7">
|
||||
<h3>Supportanfrage stellen</h3>
|
||||
<small>Haben Sie schon in unserem <a href="https://wiki.digitale-agentur.com/" target="_blank">Wiki</a> nachgesehen? Dort finden Sie viele Tipps und Anregungen!</small>
|
||||
<small>Haben Sie schon in unserem <a href="https://digitale-agentur.com/" target="_blank">Wiki</a> nachgesehen? Dort finden Sie viele Tipps und Anregungen!</small>
|
||||
<hr>
|
||||
<form method="POST" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
|
|
|
|||
|
|
@ -350,7 +350,7 @@ def registerNewAgency(request):
|
|||
'''
|
||||
send_mail(
|
||||
'Agenturanmeldung',
|
||||
'Hallo ' + newagencyform.cleaned_data.get('first_name') + ' ' + newagencyform.cleaned_data.get('last_name') + '! Bitte setzen sie sich auf https://digitale-agentur.com/password-reset/ ein Passwort. Anschließend können Sie weitere Details Ihrer Agentur eingeben.',
|
||||
'Hallo ' + newagencyform.cleaned_data.get('first_name') + ' ' + newagencyform.cleaned_data.get('last_name') + '! Bitte setzen sie sich auf https://app.digitale-agentur.com/password-reset/ ein Passwort. Anschließend können Sie weitere Details Ihrer Agentur eingeben.',
|
||||
'noreply@digitale-agentur.com',
|
||||
[email],
|
||||
html_message=msg_html,
|
||||
|
|
@ -399,7 +399,7 @@ class AgencyCreateView(CreateView):
|
|||
# E-Mail für Passwort-Setzung!
|
||||
send_mail(
|
||||
'Agenturanmeldung',
|
||||
'Hallo ' + form.cleaned_data.get('first_name') + ' ' + form.cleaned_data.get('last_name') + '! Bitte setzen sie sich auf https://digitale-agentur.com/password-reset/ ein Passwort. Anschließend können Sie weitere Details Ihrer Agentur eingeben.',
|
||||
'Hallo ' + form.cleaned_data.get('first_name') + ' ' + form.cleaned_data.get('last_name') + '! Bitte setzen sie sich auf https://app.digitale-agentur.com/password-reset/ ein Passwort. Anschließend können Sie weitere Details Ihrer Agentur eingeben.',
|
||||
'noreply@digitale-agentur.com',
|
||||
[form.cleaned_data.get('email')],
|
||||
html_message=msg_html,
|
||||
|
|
@ -480,7 +480,7 @@ class UsersCreateUser(LoginRequiredMixin, CreateView):
|
|||
if(self.request.POST.get("sendmailnewuser")):
|
||||
send_mail(
|
||||
self.request.user.profile.agency.name + ' Account',
|
||||
'Hallo ' + form.cleaned_data.get('first_name') + ' ' + form.cleaned_data.get('last_name') + '! Bitte setzen sie sich auf https://digitale-agentur.com/password-reset/ ein Passwort.',
|
||||
'Hallo ' + form.cleaned_data.get('first_name') + ' ' + form.cleaned_data.get('last_name') + '! Bitte setzen sie sich auf https://app.digitale-agentur.com/password-reset/ ein Passwort.',
|
||||
'noreply@digitale-agentur.com',
|
||||
[form.cleaned_data.get('email')],
|
||||
html_message=msg_html,
|
||||
|
|
|
|||
Loading…
Reference in New Issue