Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit fe99a69

Browse files
committed
Fix #1128 : add the ability to reject a previously accepted share.
1 parent d0521d0 commit fe99a69

File tree

32 files changed

+153
-41
lines changed

32 files changed

+153
-41
lines changed

core/src/plugins/access.ajxp_home/res/home.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@
131131
white-space: nowrap;
132132
text-overflow: ellipsis;
133133
}
134+
#home_account_pane #home_left_bar #workspaces_center .workspaces .workspace-entry .workspace-additional-action {
135+
float: right;
136+
margin-top: -40px;
137+
padding: 12px;
138+
border-radius: 50%;
139+
}
134140
#home_account_pane #home_left_bar #workspaces_center .workspaces .workspace-entry.ws_selector_title h3 {
135141
font-size: 13px;
136142
font-weight: 500;

core/src/plugins/access.ajxp_home/res/home.less

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,13 @@
136136
text-overflow: ellipsis;
137137
}
138138

139+
.workspace-additional-action {
140+
float: right;
141+
margin-top: -40px;
142+
padding: 12px;
143+
border-radius: 50%;
144+
}
145+
139146
&.ws_selector_title{
140147
h3{
141148
font-size: 13px;

core/src/plugins/core.ajaxplorer/i18n/ca.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,5 +643,8 @@
643643
"545" => "Remote Share Dialog",
644644
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
645645
"547" => "Accept",
646-
"548" => "Decline"
646+
"548" => "Decline",
647+
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
648+
"550" => "Reject this share",
649+
"551" => "Reject",
647650
);

core/src/plugins/core.ajaxplorer/i18n/cs.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,5 +641,8 @@
641641
"545" => "Remote Share Dialog",
642642
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
643643
"547" => "Accept",
644-
"548" => "Decline"
644+
"548" => "Decline",
645+
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
646+
"550" => "Reject this share",
647+
"551" => "Reject",
645648
);

core/src/plugins/core.ajaxplorer/i18n/da.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,9 @@
644644
"545" => "Remote Share Dialog",
645645
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
646646
"547" => "Accept",
647-
"548" => "Decline"
647+
"548" => "Decline",
648+
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
649+
"550" => "Reject this share",
650+
"551" => "Reject",
648651
/* END SENTENCE */
649652
);

core/src/plugins/core.ajaxplorer/i18n/de.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,5 +648,8 @@
648648
"545" => "Freigabe von entferntem System",
649649
"546" => "Dieses Element wurde von %%OWNER%% für Sie von einem entfernten System freigegeben. Möchten sie fortfahren?",
650650
"547" => "Akzeptieren",
651-
"548" => "Ablehnen"
651+
"548" => "Ablehnen",
652+
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
653+
"550" => "Reject this share",
654+
"551" => "Reject",
652655
);

core/src/plugins/core.ajaxplorer/i18n/en.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,8 +638,11 @@
638638
"542" => "Upload error: a PHP extension stopped the upload process.",
639639
"543" => "Results limited to 100 out of %s.",
640640
"544" => "Show All",
641-
"545" => "Remote Share Dialog",
641+
"545" => "Remote Share",
642642
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
643643
"547" => "Accept",
644-
"548" => "Decline"
644+
"548" => "Decline",
645+
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
646+
"550" => "Reject this share",
647+
"551" => "Reject",
645648
);

core/src/plugins/core.ajaxplorer/i18n/es.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,5 +646,8 @@
646646
"545" => "Remote Share Dialog",
647647
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
648648
"547" => "Accept",
649-
"548" => "Decline"
649+
"548" => "Decline",
650+
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
651+
"550" => "Reject this share",
652+
"551" => "Reject",
650653
);

core/src/plugins/core.ajaxplorer/i18n/et.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,9 @@
642642
"545" => "Remote Share Dialog",
643643
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
644644
"547" => "Accept",
645-
"548" => "Decline"
645+
"548" => "Decline",
646+
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
647+
"550" => "Reject this share",
648+
"551" => "Reject",
646649
/* END SENTENCE */
647650
);

core/src/plugins/core.ajaxplorer/i18n/eus.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,9 @@
640640
"545" => "Remote Share Dialog",
641641
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
642642
"547" => "Accept",
643-
"548" => "Decline"
643+
"548" => "Decline",
644+
"549" => "You have previously accepted this item that was shared with you by %%OWNER%% from a remote location. Do you want to reject it now?",
645+
"550" => "Reject this share",
646+
"551" => "Reject",
644647
/* END SENTENCE */
645648
);

0 commit comments

Comments
 (0)