Merging editing and viewing resources

Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/924ac060
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/924ac060
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/924ac060

Branch: refs/heads/master
Commit: 924ac0609e0007667d913030027178f62ffbb6fe
Parents: 839fe78
Author: Nipurn Doshi <[email protected]>
Authored: Tue Jan 26 13:44:06 2016 -0500
Committer: Nipurn Doshi <[email protected]>
Committed: Tue Jan 26 13:44:06 2016 -0500

----------------------------------------------------------------------
 app/views/resource/browse.blade.php         | 8 --------
 app/views/storage-resource/browse.blade.php | 9 ---------
 2 files changed, 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/924ac060/app/views/resource/browse.blade.php
----------------------------------------------------------------------
diff --git a/app/views/resource/browse.blade.php 
b/app/views/resource/browse.blade.php
index 550cf46..792f9b5 100644
--- a/app/views/resource/browse.blade.php
+++ b/app/views/resource/browse.blade.php
@@ -51,9 +51,6 @@
                         <th>Id</th>
                         @if(Session::has("admin"))
                         <th>Enabled</th>
-                        @if(Session::has("super-admin"))
-                            <th>Edit</th>
-                        @endif
                         @endif
                         <th>View</th>
                         @if(Session::has("super-admin"))
@@ -97,11 +94,6 @@
                         @endif
                         @if(Session::has("super-admin"))
                             <td>
-                                <a href="{{URL::to('/')}}/cr/edit?crId={{ 
$crId }}" title="Edit">
-                                    <span class="glyphicon 
glyphicon-pencil"></span>
-                                </a>
-                            </td>
-                            <td>
                             <a href="#" title="Delete">
                                 <span class="glyphicon glyphicon-trash del-cr" 
data-toggle="modal"
                                       data-target="#delete-cr-block" 
data-delete-cr-name="{{$crName}}"

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/924ac060/app/views/storage-resource/browse.blade.php
----------------------------------------------------------------------
diff --git a/app/views/storage-resource/browse.blade.php 
b/app/views/storage-resource/browse.blade.php
index 41c0c96..025e991 100644
--- a/app/views/storage-resource/browse.blade.php
+++ b/app/views/storage-resource/browse.blade.php
@@ -48,9 +48,6 @@
                         <tr>
                             <th>Id</th>
                             <th>Hostname</th>
-                            @if(Session::has("super-admin"))
-                            <th>Edit</th>
-                            @endif
                             <th>View</th>
                             @if(Session::has("super-admin"))
                             <th>Delete</th>
@@ -65,12 +62,6 @@
                         <tr id="srDetails">
                             <td>{{ $srId }}</td>
                             <td>{{ $hostName }}</td>
-                            @if(Session::has("super-admin"))
-                            <td><a href="{{URL::to('/')}}/sr/edit?srId={{ 
$srId }}" title="Edit">
-                                    <span class="glyphicon 
glyphicon-pencil"></span>
-                                </a>
-                            </td>
-                            @endif
                             <td>
                                 <a href="{{URL::to('/')}}/sr/edit?srId={{ 
$srId }}" title="Edit">
                                 <span class="glyphicon glyphicon-list"></span>

Reply via email to