mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
rename -> site_title
A foolish consistency is the hobgoblin of little minds
This commit is contained in:
@@ -38,7 +38,7 @@ def _send_alert(issue_id, subject_prefix, alert_article, alert_reason):
|
||||
base_template_name="alerts/issue_alert",
|
||||
recipient_list=[membership.user.email],
|
||||
context={
|
||||
"site_name": settings.SITE_NAME,
|
||||
"site_title": settings.SITE_TITLE,
|
||||
"base_url": settings.BASE_URL + "/",
|
||||
"issue_title": issue.title(),
|
||||
"project_name": issue.project.name,
|
||||
|
||||
@@ -462,7 +462,7 @@
|
||||
<tr>
|
||||
<td class="email-masthead" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; text-align: center; padding: 25px 0;" align="center">
|
||||
<a href="{{ base_url }}" class="f-fallback email-masthead_name" style="color: #A8AAAF; font-size: 16px; font-weight: bold; text-decoration: none; text-shadow: 0 1px 0 white;">
|
||||
{{ site_name }}
|
||||
{{ site_title }}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
The issue title is:
|
||||
{{ issue_title|truncatechars:100 }}
|
||||
|
||||
View it on {{ site_name }}:
|
||||
View it on {{ site_title }}:
|
||||
{{ issue_url }}
|
||||
|
||||
Manage notification settings:
|
||||
|
||||
@@ -3,7 +3,7 @@ from django.conf import settings
|
||||
|
||||
DEBUG_CONTEXTS = {
|
||||
"issue_alert": {
|
||||
"site_name": settings.SITE_NAME,
|
||||
"site_title": settings.SITE_TITLE,
|
||||
"base_url": settings.BASE_URL + "/",
|
||||
"issue_title": "AttributeError: 'NoneType' object has no attribute 'data'",
|
||||
"project_name": "My first project",
|
||||
|
||||
Reference in New Issue
Block a user