-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from gaiaresources/master
!932: User action Audit Trail
- Loading branch information
Showing
35 changed files
with
1,956 additions
and
218 deletions.
There are no files selected for viewing
13 changes: 8 additions & 5 deletions
13
wildlifelicensing/apps/applications/handlebars_templates/group.handlebars
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,22 +1,25 @@ | ||
<div class="top-buffer bottom-buffer"> | ||
<h4>{{label}}</h4> | ||
<h4 class="inline">{{label}}</h4> | ||
{{#unless isRemovable}} | ||
{{#if help_text}} | ||
<p id="description_{{name}}" >{{{help_text}}}</p> | ||
{{/if}} | ||
{{/unless}} | ||
<div class="panel panel-default"> | ||
<div class="panel-body"> | ||
<div class="children-anchor-point" style="padding-left: 0px"> | ||
<a class="collapse-link-top pull-right"><span class="glyphicon glyphicon-chevron-down"></a> | ||
<div class="children-anchor-point collapse in" style="padding-left: 0px"> | ||
</div> | ||
{{#unless isPreviewMode }} | ||
{{#if isRepeatable }} | ||
<a id="copy_{{name}}">Copy {{label}}</a> | ||
{{/if}} | ||
<div class="pull-right"> | ||
<a id="remove_{{name}}" class="{{#unless isRemovable}}hidden{{/unless}}">Remove</a> | ||
</div> | ||
<span class="{{#unless isRemovable}}hidden{{/unless}}"> | ||
<span class="margin-left margin-right">|</span> | ||
<a id="remove_{{name}}" ">Remove {{label}}</a> | ||
</span> | ||
{{/unless}} | ||
<a class="collapse-link-bottom pull-right"><span class="glyphicon glyphicon-chevron-up"></a> | ||
</div> | ||
</div> | ||
</div> |
6 changes: 4 additions & 2 deletions
6
wildlifelicensing/apps/applications/handlebars_templates/section.handlebars
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,2 +1,4 @@ | ||
<h3 id="{{name}}" class="section">{{label}}</h3> | ||
<hr> | ||
<h3 id="{{name}}" class="section inline">{{label}}</h3><a class="collapse-link-top top-buffer-s pull-right"><span class="glyphicon glyphicon-chevron-down"></span></a> | ||
<hr> | ||
<div class="children-anchor-point collapse in"> | ||
</div> |
31 changes: 31 additions & 0 deletions
31
wildlifelicensing/apps/applications/migrations/0011_applicationuseraction.py
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,31 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.9.10 on 2016-10-12 02:42 | ||
from __future__ import unicode_literals | ||
|
||
from django.conf import settings | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
migrations.swappable_dependency(settings.AUTH_USER_MODEL), | ||
('wl_applications', '0010_auto_20160901_1436'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='ApplicationUserAction', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('when', models.DateTimeField(auto_now_add=True)), | ||
('what', models.TextField()), | ||
('application', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='wl_applications.Application')), | ||
('who', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), | ||
], | ||
options={ | ||
'abstract': False, | ||
}, | ||
), | ||
] |
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
2 changes: 1 addition & 1 deletion
2
wildlifelicensing/apps/applications/static/wl/js/entry/select_licence_type.js
100644 → 100755
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
Oops, something went wrong.