Skip to content

Commit

Permalink
Date shown in status bar by default
Browse files Browse the repository at this point in the history
paste.main updates status bar on load
  • Loading branch information
weierophinney committed Dec 3, 2008
1 parent 450e35a commit 37105e2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
7 changes: 4 additions & 3 deletions TODO
@@ -1,9 +1,10 @@
- Add "spindle" dojo layer
- Add ability to update page title (hook this in pastebin module)
- Update layout
- By default, show nothing in status bar
- Paste module should update statusbar
- via js?
- Sidebar changes
- define as ExpandoPane?
- would allow collapsing
- Use menu or tree widget
- Import bugapp into Spindle module
- Paste application changes
- Update views to pull from cache when available, or write to it when not
Expand Down
2 changes: 1 addition & 1 deletion application/layouts/scripts/_footer.phtml
@@ -1,5 +1,5 @@
<? $this->contentPane()->captureStart('footer', array('region' => 'bottom'))?>
<p><?= $this->countActive()?> active pastes</p>
<p>Current (server) time: <?= date('Y-m-d H:i:s') ?></p>
<?= $this->contentPane()->captureEnd('footer') ?>
<script type="text/javascript">
dojo.back.init();
Expand Down
3 changes: 3 additions & 0 deletions public/js-src/paste/main.js
Expand Up @@ -42,6 +42,9 @@ dojo.provide("paste.main");

// set the tab based on any URL at load-time
paste.tabs.urlChangeHandler();

// update the status bar
paste.updateStatus(dijit.byId("pastebin").selectedChildWidget);

// update the URL hash each time the tab changes
dojo.connect(dijit.byId("pastebin"), "selectChild", paste.tabs, "urlUpdateHandler");
Expand Down

0 comments on commit 37105e2

Please sign in to comment.