diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-06 14:24:42 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-06 14:24:42 +0200 |
commit | 9694690a09012336d749d91e7b3d420ded68091f (patch) | |
tree | 7a3d0c80099475c478a91c195667ba832ed2b4ac /templates | |
parent | eeec3b28186f7746a1057ccb615185f544c113f1 (diff) |
also allow 7.0.3 alpha, minify css
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.php | 12 |
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' -]); ?> |