[Rt-commit] rt branch, 4.4/remove-user-info, repushed
Craig Kaiser
craig at bestpractical.com
Mon Dec 17 15:44:47 EST 2018
The branch 4.4/remove-user-info was deleted and repushed:
was d6cf3a6db74949bb1ccca6a4053dae97dd59b103
now 2c4e8b2ffe48ffbda402b43286b096cc7ae54e84
1: 9df047a66f = 1: 9df047a66f Move User related info portlet into side column
2: 2fbff4077b = 2: 2fbff4077b Create method AnonymizeUser in User.pm
3: b5bd61f463 = 3: b5bd61f463 Create modal mason component
4: d179f12923 = 4: d179f12923 Allow TSVExport filename to be set through Filename arg
--: ------- > 5: 6707c18358 Add Timezone to user column map
--: ------- > 6: 1068624166 Set TSV column header based on column maps
--: ------- > 7: 0350323385 Add column map for ObjectIdTicketTitle
5: 6b4706d73a ! 8: d07749e165 Create portlet for removing user information
@@ -52,22 +52,26 @@
- </td></tr>
-</table>
+<div>
-+ <h4>Download User Information:</h4>
++ <div><b>Download User Information:</b></div>
+ <div class="inline-row">
-+ <div><a class="button" href="/User/BasicUserData.tsv?Type=User&id=<% $UserObj->id %>&Filename='UserData.tsv'"><% $UserDataButton %></a></div>
-+ <div><a class="button" href="/Search/Results.tsv?Query=Requestor.id=<% $UserObj->id %>&Format=<% $Format | un %>&Filename='UserTicketData.tsv'"><% $UserTicketsButton %></a></div>
-+ <div><a class="button" href="/User/BasicUserData.tsv?Type=Transaction&id=<% $UserObj->id %>&Filename='UserTransactionData.tsv'"><% $UserTxnButton %></a></div>
++ <div class="inline-cell"><a class="button" href="/User/BasicUserData.tsv?Type=User&id=<% $UserObj->id %>&Filename='UserData.tsv'"><% $UserDataButton %></a></div>
++ <div class="inline-cell"><a class="button" href="/Search/Results.tsv?Query=Requestor.id=<% $UserObj->id %>&Format=<% $Format | un %>&Filename='UserTicketData.tsv'"><% $UserTicketsButton %></a></div>
++ <div class="inline-cell"><a class="button" href="/User/BasicUserData.tsv?Type=Transaction&id=<% $UserObj->id %>&Filename='UserTransactionData.tsv'"><% $UserTxnButton %></a></div>
+ </div>
-+ <h4>Remove User Information:</h4>
++ <div><b>Remove User Information:</b></div>
+ <div class="inline-row">
-+ <div><a class="button" href="#user-info-modal" rel="modal:open" name="anonymize_user"><&|/l&>Anonymize User</&></a></div>
-+ <div><a class="button" href="<%RT->Config->Get('WebPath')%>/Admin/Tools/Shredder/index.html?Plugin=Users&Users%3Astatus=enabled&Users%3Aname=<% $UserObj->Name %>&Users%3Areplace_relations=Nobody&Search=Search" name="replace-user"><&|/l&>Replace User</&></a></div>
-+ <div><a class="button" href="<%RT->Config->Get('WebPath')%>/Admin/Tools/Shredder/index.html?Plugin=Users&Users%3Astatus=enabled&Users%3Aname=<% $UserObj->Name %>&Search=Search&remove_user" name="remove-user"><&|/l&>Remove User</&></a></div>
-+ </div>
-+ <div class="inline-row">
-+ <div><i class="label"><&|/l&><b>Anonymize User</b>: Remove user information with anonymous username</&></i></div>
-+ <div><i class="label"><&|/l&><b>Replace User</b>: Replace user links in the database with "Nobody" user</&></i></div>
-+ <div><i class="label"><&|/l&><b>Remove User</b>: Remove all references to user and links to user</&></i></div>
++ <div class="inline-cell">
++ <a class="button" href="#user-info-modal" rel="modal:open" name="anonymize_user"><&|/l&>Anonymize User</&></a>
++ <i class="label"><&|/l&>Remove user information with anonymous username</&></i>
++ </div>
++ <div class="inline-cell">
++ <a class="button" href="<%RT->Config->Get('WebPath')%>/Admin/Tools/Shredder/index.html?Plugin=Users&Users%3Astatus=enabled&Users%3Aname=<% $UserObj->Name %>&Users%3Areplace_relations=Nobody&Search=Search" name="replace-user"><&|/l&>Replace User</&></a>
++ <i class="label"><&|/l&>Replace user links in the database with "Nobody" user</&></i>
++ </div>
++ <div class="inline-cell">
++ <a class="button" href="<%RT->Config->Get('WebPath')%>/Admin/Tools/Shredder/index.html?Plugin=Users&Users%3Astatus=enabled&Users%3Aname=<% $UserObj->Name %>&Search=Search&remove_user" name="remove-user"><&|/l&>Remove User</&></a>
++ <i class="label"><&|/l&>Remove all references to user and links to user</&></i>
++ </div>
+ </div>
+</div>
</&>
@@ -95,28 +99,21 @@
+
+.inline-row {
+ display: inline-flex;
-+ width: 80%;
++ width: 100%;
+}
+
+div.inline-row div {
-+ width: 100%;
-+ display: inline-flex;
++ width: 175px;
++ display: block;
+}
+
+div.inline-row a {
+ text-align: center;
-+ width: 100%;
++ width: 85%;
+}
+
+div.inline-row i {
+ text-align: left;
-+ width: 100%;
++ width: 85%;
+}
-diff --git a/share/static/css/base/test.css b/share/static/css/base/test.css
-new file mode 100644
---- /dev/null
-+++ b/share/static/css/base/test.css
-@@
-+
-
6: 3566d5a053 = 9: 4847188d68 Add remove user info portlet to user modify page
7: d6cf3a6db7 = 10: 2c4e8b2ffe Create test for remove user information
More information about the rt-commit
mailing list