]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3599 spacing of dashboard blurb fixed
authorCash Costello <cash.costello@gmail.com>
Thu, 23 Jun 2011 11:01:54 +0000 (07:01 -0400)
committerCash Costello <cash.costello@gmail.com>
Thu, 23 Jun 2011 11:01:54 +0000 (07:01 -0400)
mod/dashboard/start.php
mod/dashboard/views/default/dashboard/blurb.php
mod/dashboard/views/default/dashboard/css.php [new file with mode: 0644]

index 4fa048b3d0b8ab92093596fd8ba1b7c3e8f234ae..9de1ee4af81970c76cff483fa6e20df7e6602e8f 100644 (file)
@@ -8,6 +8,8 @@ elgg_register_event_handler('init', 'system', 'dashboard_init');
 function dashboard_init() {
        elgg_register_page_handler('dashboard', 'dashboard_page_handler');
 
+       elgg_extend_view('css/elgg', 'dashboard/css');
+
        elgg_register_menu_item('topbar', array(
                'name' => 'dashboard',
                'href' => 'dashboard',
index 202be1dc5e05ad31cba25b20248d878b43f2af7f..9293e513a67de1b305cf832fbc89ed79cee75222 100644 (file)
@@ -9,7 +9,7 @@
 <?php 
        echo elgg_view('output/longtext', array(
                'id' => 'dashboard-info',
-               'class' => 'elgg-inner elgg-border-plain pam mhs mbl mtn',
+               'class' => 'elgg-inner pam mhs mtn',
                'value' => elgg_echo("dashboard:nowidgets"),
        ));
 
diff --git a/mod/dashboard/views/default/dashboard/css.php b/mod/dashboard/views/default/dashboard/css.php
new file mode 100644 (file)
index 0000000..f492932
--- /dev/null
@@ -0,0 +1,10 @@
+<?php
+/**
+ * User dashboard CSS
+ */
+?>
+
+#dashboard-info {
+       border: 2px solid #dedede;
+       margin-bottom: 15px;
+}