You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2016/01/07 18:38:07 UTC

[3/4] airavata-php-gateway git commit: view cr should show form disabled fields

view cr should show form disabled fields


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/81bab7a7
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/81bab7a7
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/81bab7a7

Branch: refs/heads/master
Commit: 81bab7a7fcc28ecf47ade823c764421d02316253
Parents: 6c46b9f
Author: scnakandala <su...@gmail.com>
Authored: Thu Jan 7 12:34:17 2016 -0500
Committer: scnakandala <su...@gmail.com>
Committed: Thu Jan 7 12:34:17 2016 -0500

----------------------------------------------------------------------
 app/views/resource/browse.blade.php | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/81bab7a7/app/views/resource/browse.blade.php
----------------------------------------------------------------------
diff --git a/app/views/resource/browse.blade.php b/app/views/resource/browse.blade.php
index 1ee5491..6b3ffa1 100644
--- a/app/views/resource/browse.blade.php
+++ b/app/views/resource/browse.blade.php
@@ -51,11 +51,13 @@
                         <th>Id</th>
                         @if(Session::has("admin"))
                         <th>Enabled</th>
-                        <!--<th>Edit</th>-->
+                        @if(Session::has("scigap_admin"))
+                            <th>Edit</th>
+                        @endif
                         @endif
                         <th>View</th>
-                        @if(Session::has("admin"))
-                        <!--<th>Delete</th>-->
+                        @if(Session::has("scigap_admin"))
+                            <th>Delete</th>
                         @endif
                     </tr>
 
@@ -80,20 +82,19 @@
                             </div>
                             @endif
                         </td>
-                        <!--
                         <td><a href="{{URL::to('/')}}/cr/edit?crId={{ $crId }}" title="Edit">
                                 <span class="glyphicon glyphicon-pencil"></span>
                             </a>
                         </td>
-                        -->
                         @endif
+                        @if(Session::has("scigap_admin"))
                         <td>
-                            <a href="{{URL::to('/')}}/cr/edit?crId={{ $crId }}" title="Edit">
+                            <a href="{{URL::to('/')}}/cr/view?crId={{ $crId }}" title="View">
                             <span class="glyphicon glyphicon-list"></span>
                             </a>
                         </td>
-                        @if(Session::has("admin"))
-                        <!--
+                        @endif
+                        @if(Session::has("scigap_admin"))
                         <td>
                             <a href="#" title="Delete">
                                 <span class="glyphicon glyphicon-trash del-cr" data-toggle="modal"
@@ -102,7 +103,6 @@
                                       data-crid="{{$crId}}"></span>
                             </a>
                         </td>
-                        -->
                         @endif
                     </tr>
                     @endforeach