Remove Type column from admin contact list
authorLaury GvR <laury@gaslightmedia.com>
Thu, 9 Aug 2018 17:16:05 +0000 (13:16 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 9 Aug 2018 17:16:08 +0000 (13:16 -0400)
css/admin.css
views/admin/contacts/index.html

index 40a23a6..c3434ff 100644 (file)
     padding: 8px;
 }
 #glm-table-profile .glm-contact-sub-data-links > a {
+    cursor: pointer;
     font-size: 12px;
     font-weight: bold;
     margin: 0;
@@ -464,6 +465,10 @@ and also iPads specifically.
 only screen and (max-width: 760px),
 (min-device-width: 768px) and (max-device-width: 1024px)  {
 
+    #wpbody-content #glm-admin-contact-wrapper .wrap {
+        margin-right: 0;
+    }
+
        /* Force table to not be like tables anymore */
     #wpbody-content #glm-admin-contact-wrapper #searchForm table,
     #wpbody-content #glm-admin-contact-wrapper #searchForm thead,
@@ -501,18 +506,14 @@ only screen and (max-width: 760px),
                padding-right: 10px; 
                white-space: nowrap;
        }
-       /*
-       Label the data
-       */
-       #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(1):before { content: "Name"; }
+       /* Label the data */
+       #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(1):before { content: "Contact"; }
        #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(2):before { content: "Active"; }
        #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(3):before { content: "Primary"; }
-       #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(4):before { content: "Type"; }
-       #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(5):before { content: "Access"; }
-       #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(6):before { content: "User"; }
-    #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(7):before { content: "Entity"; }
+       #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(4):before { content: "Access"; }
+       #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(5):before { content: "User"; }
+    #wpbody-content #glm-admin-contact-wrapper #searchForm td:nth-of-type(6):before { content: "Entity"; }
  
-    
     /* Table styles */
     #wpbody-content #glm-admin-contact-wrapper #searchForm .wp-list-table {
         max-width: 100%;
index 35e3eb3..add86e8 100644 (file)
         <table class="wp-list-table striped glm-admin-table">
             <thead>
                 <tr>
-                    <th>Name</th>
+                    <th>Contact</th>
                     <th>Active</th>
                     <th>Primary</th>
-                    <th>Type</th>
                     <th>Access</th>
                     <th>User</th>
                     <th>Entity</th>
@@ -77,7 +76,6 @@
                     </td>
                     <td class="glm-shrink">{$c.active.name}</td>
                     <td class="glm-shrink">{$c.primary_contact.name}</td>
-                    <td>{$c.contact_type.name}</td>
                     <td class="glm-shrink">{$c.access.name}</td>
                     <td class="glm-nowrap">{$c.username}</td>
                     <td class="glm-nowrap">