Fixed some wrapping problems when the user has set a larger font size. And some UI love for the file permissions page (as requested by Mike ;) and changed the position of the file properties link on the cloud page.
This commit is contained in:
@@ -1038,6 +1038,14 @@ class RedBrowser extends DAV\Browser\Plugin {
|
||||
|
||||
public function htmlActionsPanel(DAV\INode $node, &$output) {
|
||||
|
||||
|
||||
if($this->auth->owner_id && $this->auth->owner_id == $this->auth->channel_id) {
|
||||
$channel = get_app()->get_channel();
|
||||
if($channel) {
|
||||
$output .= '<tr><td colspan="2"><a href="filestorage/' . $channel['channel_address'] . '" >' . t('Edit File properties') . '</a></td></tr><tr><td> </td></tr>';
|
||||
}
|
||||
}
|
||||
|
||||
if (!$node instanceof DAV\ICollection)
|
||||
return;
|
||||
|
||||
@@ -1062,14 +1070,6 @@ class RedBrowser extends DAV\Browser\Plugin {
|
||||
</form>
|
||||
</td></tr>';
|
||||
|
||||
|
||||
if($this->auth->owner_id && $this->auth->owner_id == $this->auth->channel_id) {
|
||||
$channel = get_app()->get_channel();
|
||||
if($channel) {
|
||||
$output .= '<tr><td> </td></tr><tr><td colspan="2"><a href="filestorage/' . $channel['channel_address'] . '" >' . t('Edit File properties') . '</a></td></tr>';
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user