Merge lp:~hatch/juju-gui/remove-old-notifications into lp:juju-gui/experimental
Proposed by
Jeff Pihach
Status: | Merged |
---|---|
Merged at revision: | 1190 |
Proposed branch: | lp:~hatch/juju-gui/remove-old-notifications |
Merge into: | lp:juju-gui/experimental |
Diff against target: |
120 lines (+1/-68) 4 files modified
CHANGES.yaml (+1/-1) app/app.js (+0/-19) app/templates/notifications_overview.handlebars (+0/-16) app/views/notifications.js (+0/-32) |
To merge this branch: | bzr merge lp:~hatch/juju-gui/remove-old-notifications |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju GUI Hackers | Pending | ||
Review via email: mp+194422@code.launchpad.net |
Description of the change
Remove remaining old unused notifications code.
To post a comment you must log in.
Reviewers: mp+194422_ code.launchpad. net,
Message:
Please take a look.
Description:
Remove remaining old unused notifications code.
https:/ /code.launchpad .net/~hatch/ juju-gui/ remove- old-notificatio ns/+merge/ 194422
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/23240043/
Affected files (+3, -68 lines): notifications_ overview. handlebars notifications. js
M CHANGES.yaml
A [revision details]
M app/app.js
D app/templates/
M app/views/
Index: CHANGES.yaml
=== modified file 'CHANGES.yaml'
--- CHANGES.yaml 2013-11-07 19:57:08 +0000
+++ CHANGES.yaml 2013-11-07 21:23:39 +0000
@@ -20,7 +20,7 @@
# Release identifiers in this file should always be "unreleased" or .[NUMBER] .[NUMBER] per http:// semver. org/ .
# [NUMBER]
-- unreleased
+- unreleased:
- 0.12.0:
- >
(BETA) In arguably the biggest single new feature of the GUI since its
Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision: <email address hidden>
Index: app/app.js
notifications: { NotificationsVi ew', overview: { NotificationsOv erview'
=== modified file 'app/app.js'
--- app/app.js 2013-11-07 15:49:57 +0000
+++ app/app.js 2013-11-07 21:10:06 +0000
@@ -125,10 +125,6 @@
type: 'juju.views.
preserve: true
- },
-
- notifications_
- type: 'juju.views.
}
},
@@ -757,17 +753,6 @@
// Route handlers
/** ons_overview ons_overview: function(req) { 'notifications_ overview' , { notifications,
callbacks: 'show_charm',
model: 'browser-charm',
namespace: 'gui'}, ions_overview' ,
- * @method show_notificati
- */
- show_notificati
- this.showView(
- env: this.env,
- notifications: this.db.
- nsRouter: this.nsRouter
- });
- },
-
- /**
* Show the login screen.
*
* @method showLogin
@@ -1309,10 +1294,6 @@
- // Notifications.
- { path: '/notifications/',
- callbacks: 'show_notificat
- namespace: 'gui'},
// Authorization
{ path: '/login/', callbacks: 'showLogin' }
]
Index: app/templates/ notifications_ overview. handlebars notifications_ overview. handlebars' notifications_ overview. handlebars 2012-09-28 20:12:35 notifications_ overview. handlebars 1970-01-01 00:00:00 icon-arrow- right"> </i>{{link_ title}} </a> "{{timestamp} }" timestamp" >{{humanizeTime timestamp}}</small>
=== removed file 'app/templates/
--- app/templates/
+0000
+++ app/templates/
+0000
@@ -1,16 +0,0 @@
-<ul class="unstyled">
- {{#notifications}}
- <li id="{{clientId}}" class="notice">
- <div{{#if seen}} class="seen" {{/if}} class="{{level}}">
- <h4>{{title}}</h4>
- <div>
- {{message}}
- </div>
- {{#if link}}
- <a href="{{link}}"><i class="
- {{/if}}
- <small data-timestamp=
class="
- </div>
- </li>
- {{/notifications}}
-</ul>
Ind...