Revert "added new tab linking and corrected redirect"
This reverts commit 4eb5a4fd3f
.
This commit is contained in:
parent
e926d40779
commit
d8403b8b11
5 changed files with 6 additions and 6 deletions
|
@ -139,7 +139,7 @@ sub valid_edit {
|
||||||
$c->flash( success => 'Updated Organisation' );
|
$c->flash( success => 'Updated Organisation' );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
$c->redirect_to( '/admin/organisations/' . $c->param('id') );
|
$c->redirect_to( '/admin/organisations/');
|
||||||
}
|
}
|
||||||
|
|
||||||
sub merge_list {
|
sub merge_list {
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h3 class="card-header">
|
<h3 class="card-header">
|
||||||
Organisations
|
Organisations
|
||||||
<a href="<%= url_for . '/add' %>" class="btn btn-success" style="float: right" target="_blank">Add Organisation</a>
|
<a href="<%= url_for . '/add' %>" class="btn btn-success" style="float: right">Add Organisation</a>
|
||||||
</h3>
|
</h3>
|
||||||
<div class="list-group list-group-flush">
|
<div class="list-group list-group-flush">
|
||||||
% for my $org_result ($orgs_rs->all) {
|
% for my $org_result ($orgs_rs->all) {
|
||||||
<a href="<%= url_for . '/' . $org_result->id %>" class="list-group-item list-group-item-action d-flex justify-content-between" target="_blank">
|
<a href="<%= url_for . '/' . $org_result->id %>" class="list-group-item list-group-item-action d-flex justify-content-between">
|
||||||
<div>
|
<div>
|
||||||
%= $org_result->name
|
%= $org_result->name
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -148,7 +148,7 @@ function initMap() {
|
||||||
</h3>
|
</h3>
|
||||||
<div class="list-group list-group-flush">
|
<div class="list-group list-group-flush">
|
||||||
% for my $transaction ( $transactions->all ) {
|
% for my $transaction ( $transactions->all ) {
|
||||||
<a href="<%= url_for '/admin/transactions/' . $transaction->id %>" class="list-group-item list-group-item-action" target="_blank">
|
<a href="<%= url_for '/admin/transactions/' . $transaction->id %>" class="list-group-item list-group-item-action">
|
||||||
<div class="row text-center">
|
<div class="row text-center">
|
||||||
<div class="col">From: <%= $transaction->buyer->name %></div>
|
<div class="col">From: <%= $transaction->buyer->name %></div>
|
||||||
<div class="col">To: <%= $transaction->seller->name %></div>
|
<div class="col">To: <%= $transaction->seller->name %></div>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
</h3>
|
</h3>
|
||||||
<div class="list-group list-group-flush">
|
<div class="list-group list-group-flush">
|
||||||
% for my $transaction ( $transactions->all ) {
|
% for my $transaction ( $transactions->all ) {
|
||||||
<a href="<%= url_for . '/' . $transaction->id %>" class="list-group-item list-group-item-action" target="_blank">
|
<a href="<%= url_for . '/' . $transaction->id %>" class="list-group-item list-group-item-action">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4 row">
|
<div class="col-md-4 row">
|
||||||
<div class="col my-auto">
|
<div class="col my-auto">
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
% }
|
% }
|
||||||
<div class="list-group">
|
<div class="list-group">
|
||||||
% for my $user ($user_rs->all) {
|
% for my $user ($user_rs->all) {
|
||||||
<a href="<%= url_for . '/' . $user->id %>" class="list-group-item list-group-item-action" target="_blank">
|
<a href="<%= url_for . '/' . $user->id %>" class="list-group-item list-group-item-action">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-4">
|
<div class="col-4">
|
||||||
%= $user->name
|
%= $user->name
|
||||||
|
|
Reference in a new issue