summaryrefslogtreecommitdiffstats
path: root/templates/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.php')
-rw-r--r--templates/index.php12
1 files changed, 3 insertions, 9 deletions
diff --git a/templates/index.php b/templates/index.php
index ff29f0da9..5ebf8726c 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -1,7 +1,9 @@
<?php
// backports
if (version_compare(implode('.', \OCP\Util::getVersion()), '7.8', '<=')) {
- style('news', '7');
+ style('news', 'news-owncloud7.min');
+} else {
+ style('news', 'news.min');
}
script('news', [
@@ -13,14 +15,6 @@ script('news', [
'build/app.min',
]);
-style('news', [
- 'app',
- 'navigation',
- 'content',
- 'settings',
- 'mobile',
- 'custom'
-]);
?>