-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/0.3.69' into main
- Loading branch information
Showing
13 changed files
with
318 additions
and
201 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
16 changes: 8 additions & 8 deletions
16
edc_adverse_event/templates/edc_adverse_event/bootstrap3/tmg/ae_tmg_panel.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,15 +1,15 @@ | ||
{% load i18n %} | ||
|
||
<div class="list-group-item list-group-item-{{ panel_color }}"> | ||
<a class="btn btn-sm btn-{% if reference_obj %}success{% else%}warning{% endif %}" | ||
title="{% if reference_obj %}{% if view_only %}View{% elif may_access_tmg_obj %}Edit{% else %}May only be edited by {{ reference_obj.user_created }}{% endif %}{% else %}Add{% endif %}" data-toggle="tooltip" role="button" id="reference_obj-{{ counter }}" | ||
{% if not disabled %} href="{{ reference_obj.get_absolute_url }}?next=edc_adverse_event:open_tmg_ae_listboard_url" {% endif %} {{ disabled }}> | ||
<i class="fas {{ fa_icon }} fa-fw"></i> {{ label }} | ||
</a> | ||
{{ action_item.display_name|cut:"Submit"|cut:"pending" }} {{ action_item.identifier|default:"New" }} | ||
{% if report_status == OPEN %}<span class="label label-danger">OPEN</span>{% endif %} | ||
<a class="btn btn-sm btn-{{ btn.color }}" title="{{ btn.title }}" data-toggle="tooltip" role="button" id="reference_obj-{{ btn.id }}" {% if not btn.disabled %} href="{{ btn.url }}" {% endif %} {{ btn.disabled }} > | ||
<i class="fas {{ btn.fa_icon }} fa-fw"></i> {{ btn.label }} | ||
</a> | ||
{{ panel_label }} {% if report_status == OPEN %}<span class="label label-danger" data-toggle="tooltip" title="{% trans "This report is open" %}">OPEN</span>{% endif %} | ||
</div> | ||
{% if reference_obj %} | ||
<div class="list-group-item"><b>{% trans "Created" %}:</b> {{ reference_obj.user_created|default:"---" }} {{ reference_obj.created|date:"SHORT_DATETIME_FORMAT"|default:"---" }}</div> | ||
<div class="list-group-item"><b>{% trans "Last modified" %}:</b> {{ reference_obj.user_modified|default:"---" }} {{ reference_obj.modified|date:"SHORT_DATETIME_FORMAT"|default:"---" }}</div> | ||
{% if reference_obj.report_status == CLOSED %} | ||
<div class="list-group-item"><b>{% trans "Report closed" %}:</b> {{ reference_obj.report_closed_datetime|date:"SHORT_DATETIME_FORMAT"|default:"---" }}</div> | ||
{% endif %} | ||
{% endif %} | ||
<div class="list-group-item"><B>Action first created:</B> {{ action_item.report_datetime|date:"SHORT_DATETIME_FORMAT" }}</div> |
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
Oops, something went wrong.