summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-10-06 14:24:42 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-10-06 14:24:42 +0200
commit9694690a09012336d749d91e7b3d420ded68091f (patch)
tree7a3d0c80099475c478a91c195667ba832ed2b4ac /templates
parenteeec3b28186f7746a1057ccb615185f544c113f1 (diff)
also allow 7.0.3 alpha, minify css
Diffstat (limited to 'templates')
-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'
-]);
?>