Fix unit tests
This commit is contained in:
+1
-1
@@ -279,7 +279,7 @@ class JobAd(models.Model):
|
||||
|
||||
def generateMessage(heading: str, title: str, description: str, url: str):
|
||||
return render_to_string(
|
||||
"webapp:tg_message.tpl",
|
||||
"tg_message.tpl",
|
||||
{"heading": heading, "title": title, "description": description, "url": url},
|
||||
)
|
||||
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
{% block header %}
|
||||
{% include "webapp:header.html" %}
|
||||
{% include "header.html" %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
{% block navigation %}
|
||||
{% include "webapp:navigation.html" %}
|
||||
{% include "navigation.html" %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
@@ -33,6 +33,6 @@
|
||||
</div>
|
||||
</div>
|
||||
{% block footer %}
|
||||
{% include "webapp:footer.html" %}
|
||||
{% include "footer.html" %}
|
||||
{% endblock footer %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "webapp:base.html" %}
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "webapp:base.html" %}
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "webapp:base.html" %}
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "webapp:base.html" %}
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "webapp:base.html" %}
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "webapp:base.html" %}
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "webapp:base.html" %}
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "webapp:base.html" %}
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
+1
-1
@@ -106,7 +106,7 @@ def send_email(to: str, subject: str, body: str, html: bool = False):
|
||||
|
||||
def send_signup_email(to, subject, id, uuid, content):
|
||||
message = render_to_string(
|
||||
"webapp:signup_email.html",
|
||||
"signup_email.html",
|
||||
{
|
||||
"url": f"https://{FRONTEND_URL}/signup/edit/{id}/{uuid}",
|
||||
"content": markdown.markdown(content),
|
||||
|
||||
Reference in New Issue
Block a user