-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Change api to include site/user instead of ids Auto join users/sites on all change queries Hide update/delete buttons on site page if not admin Include user on changes list in UI Add entire sites page Fix bug with error display on site page
- Loading branch information
Showing
7 changed files
with
88 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,38 @@ | ||
<loading-panel ng-if="loading"></loading-panel> | ||
<div ng-if="!loading"> | ||
|
||
<heading-bar | ||
heading="Changes" | ||
subheading="[[change.resource_type]] [[change.resource_id]]"> | ||
</heading-bar> | ||
<div class="row"><div class="col-sm-8 col-sm-offset-2"> | ||
<panel> | ||
<panel-heading> | ||
Change | ||
</panel-heading> | ||
<panel-body> | ||
<dl class="dl-horizontal"> | ||
<dt>Event</dt> | ||
<dd>[[change.event]]</dd> | ||
|
||
<dt>Resource Type</dt> | ||
<dd>[[change.resource_type]]</dd> | ||
|
||
<dt>Resource ID</dt> | ||
<dd>[[change.resource_id]]</dd> | ||
|
||
<dt>User</dt> | ||
<dd>[[change.user.email]]</dd> | ||
|
||
<dt>Change At</dt> | ||
<dd>[[change.change_at|from_now]]</dd> | ||
|
||
<dt>Resource</dt> | ||
<dd><pre class="resource-block">[[change.resource|json:4]]</pre></dd> | ||
</dl> | ||
|
||
</panel-body> | ||
</panel> | ||
</div></div> | ||
|
||
</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