]> source.dussan.org Git - nextcloud-server.git/commitdiff
Better styling of the empty content messages in the sidebar 4126/head
authorJoas Schilling <coding@schilljs.com>
Tue, 28 Mar 2017 21:26:10 +0000 (23:26 +0200)
committerJoas Schilling <coding@schilljs.com>
Tue, 28 Mar 2017 21:26:10 +0000 (23:26 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/files_versions/css/versions.css
apps/files_versions/js/versionstabview.js
core/css/styles.scss

index e749854a942bb6e4b548c5387fd85081a3ec5ba9..cd63a90ab51d91993e2ce336f6a59ab9ae9dd568 100644 (file)
@@ -68,7 +68,3 @@
        float: right;
        margin-right: -10px;
 }
-
-.versionsTabView .emptycontent {
-       margin-top: 10px;
-}
index aa20d8fda7abf3d22c5960dfc533737cc1d74b89..3a9026901ea83b458eeb38c0f84187b664493e64 100644 (file)
                 */
                render: function() {
                        this.$el.html(this.template({
-                               emptyResultLabel: t('files_versions', 'No versions available'),
-                               moreVersionsLabel: t('files_versions', 'More versions...')
+                               emptyResultLabel: t('files_versions', 'No earlier versions available'),
+                               moreVersionsLabel: t('files_versions', 'More versions …')
                        }));
                        this.$el.find('.has-tooltip').tooltip();
                        this.$versionsContainer = this.$el.find('ul.versions');
index a5b7f2481d90d7ced5ed186fbc461f98163469fd..c9ba8695032891f6eab645f94cf766283fece523 100644 (file)
@@ -308,6 +308,10 @@ body {
        width: 100%;
 }
 
+#app-sidebar #emptycontent, #app-sidebar .emptycontent {
+       margin-top: 10vh;
+}
+
 #emptycontent.emptycontent-search, .emptycontent.emptycontent-search {
        position: static;
 }