aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/course/files.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-11-11 13:56:06 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2024-11-11 13:56:06 +0000
commit6bc51a71aa09d4f3e7797631517707851ce19acf (patch)
tree6757e5da72274ecfba34056e0cc1dfe26188912f /app/controllers/course/files.php
parentbdcccdeed469faf21bdc9f85ca2caddb32825a9f (diff)
set default icon size to 20, fixes #2801
Closes #2801 Merge request studip/studip!1908
Diffstat (limited to 'app/controllers/course/files.php')
-rw-r--r--app/controllers/course/files.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/app/controllers/course/files.php b/app/controllers/course/files.php
index 4370eea..e40ac45 100644
--- a/app/controllers/course/files.php
+++ b/app/controllers/course/files.php
@@ -54,16 +54,15 @@ class Course_FilesController extends AuthenticatedController
$actions->addLink(
_("Ordner bearbeiten"),
$this->url_for("file/edit_folder/".$this->topFolder->getId()),
- Icon::create("edit", "clickable"),
- ['data-dialog' => 1]
- );
+ Icon::create('edit')
+ )->asDialog();
}
if ($this->topFolder && $this->topFolder->isSubfolderAllowed($GLOBALS['user']->id)) {
$actions->addLink(
_('Neuer Ordner'),
URLHelper::getUrl('dispatch.php/file/new_folder/' . $this->topFolder->getId()),
- Icon::create('folder-empty', 'clickable')
+ Icon::create('folder-empty')
)->asDialog();
}
@@ -71,7 +70,7 @@ class Course_FilesController extends AuthenticatedController
$actions->addLink(
_('Dokument hinzufügen'),
'#',
- Icon::create('add', 'clickable'),
+ Icon::create('add'),
['onclick' => "STUDIP.Files.openAddFilesWindow(); return false;"]
);
}
@@ -164,7 +163,7 @@ class Course_FilesController extends AuthenticatedController
$actions->addLink(
_('Neue Dateien herunterladen'),
$this->url_for('course/files/newest_files'),
- Icon::create('download', 'clickable'),
+ Icon::create('download'),
['cid' => $this->course->id]
);
$actions->addLink(