-
-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into jc/commcare_client_version_compliance_report
- Loading branch information
Showing
78 changed files
with
1,260 additions
and
2,943 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
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
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
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
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
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,19 @@ | ||
hqDefine("hqadmin/js/mass_email", [ | ||
'jquery', | ||
'commcarehq', | ||
], function ( | ||
$ | ||
) { | ||
$(function () { | ||
$('#real_email').click(function (e) { | ||
if ($(this).prop('checked')) { | ||
$('#warning_modal').modal('show'); | ||
e.preventDefault(); | ||
} | ||
}); | ||
|
||
$('#accept_mass_email').click(function () { | ||
$('#real_email').prop('checked', 'checked'); | ||
}); | ||
}); | ||
}); |
9 changes: 5 additions & 4 deletions
9
corehq/apps/hqadmin/templates/hqadmin/disable_two_factor.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 |
---|---|---|
@@ -1,14 +1,15 @@ | ||
{% extends "hqadmin/hqadmin_base_report.html" %} | ||
{% extends "hqwebapp/bootstrap3/base_section.html" %} | ||
{% load i18n %} | ||
{% load crispy_forms_tags %} | ||
|
||
{% block reportcontent %} | ||
<h1>{% block title %}{% trans "Temporarily Disable Two-factor Authentication" %}{% endblock %}</h1> | ||
{% block title %}{{ current_page.page_name }}{% endblock %} | ||
|
||
{% block page_content %} | ||
<p>{% blocktrans %}You are about to temporarily disable two-factor authentication for {{ username }}. This | ||
compromises their account security, are you sure?{% endblocktrans %}</p> | ||
<div class="alert alert-warning"> | ||
<p>When temporarily disabling and resetting Two-Factor Auth it is important to verify that the request was made by the owner of the account (and not faked by someone else).</p> | ||
<p>Please follow the <a href="https://confluence.dimagi.com/pages/viewpage.action?pageId=27362739"#Two-StepAuthentication(2FA)-StepsforsupporttoresetCommCareHQaccount\">guidelines on the wiki</a>.</p> | ||
<p>Please follow the <a href="https://confluence.dimagi.com/pages/viewpage.action?pageId=27362739#Two-StepAuthentication(2FA)-StepsforsupporttoresetCommCareHQaccount">guidelines on the wiki</a>.</p> | ||
</div> | ||
{% crispy form %} | ||
{% 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
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
61 changes: 0 additions & 61 deletions
61
corehq/apps/hqadmin/templates/hqadmin/hqadmin_base_report.html
This file was deleted.
Oops, something went wrong.
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
12 changes: 6 additions & 6 deletions
12
corehq/apps/hqadmin/templates/hqadmin/messaging_case_updates.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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{% extends "hqadmin/hqadmin_base_report.html" %} | ||
{% extends "hqwebapp/bootstrap3/base_section.html" %} | ||
{% load crispy_forms_tags %} | ||
{% load i18n %} | ||
{% block reportcontent %} | ||
<h2>{% trans "Reprocess Messaging Case Updates" %}</h2> | ||
<div class="row"> | ||
{% crispy form %} | ||
</div> | ||
|
||
{% block title %}{{ current_page.page_name }}{% endblock %} | ||
|
||
{% block page_content %} | ||
{% crispy form %} | ||
{% 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
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 |
---|---|---|
|
@@ -31,5 +31,4 @@ | |
from corehq.apps.hqadmin.views.utils import ( | ||
BaseAdminSectionView, | ||
default, | ||
get_hqadmin_base_context, | ||
) |
Oops, something went wrong.