This repository has been archived by the owner on Aug 28, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gracefully handle basic form initialization errors
- Loading branch information
Showing
3 changed files
with
47 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
sentry_jira/templates/sentry_jira/plugin_misconfigured.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{% extends "sentry/plugins/bases/issue/create_issue.html" %} | ||
|
||
{% block main %} | ||
<p>There is an error with the Jira configuration stored for your project.</p> | ||
<ul> | ||
{% if errorMessages %} | ||
{% for message in errorMessages %} | ||
<li>{{ message }}</li> | ||
{% endfor %} | ||
{% else %} | ||
<li>An unknown error occurred while communicating with Jira.</li> | ||
{% endif %} | ||
</ul> | ||
<p>You may wish to double check your <a href="{% url 'sentry-configure-project-plugin' project.organization.slug project.slug plugin.slug %}">configuration</a>.</p> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters