Merge lp:~hatch/juju-gui/bundle-label-1246462 into lp:juju-gui/experimental

Proposed by Jeff Pihach
Status: Merged
Merged at revision: 1173
Proposed branch: lp:~hatch/juju-gui/bundle-label-1246462
Merge into: lp:juju-gui/experimental
Diff against target: 24 lines (+3/-1)
2 files modified
app/templates/bundle-token.handlebars (+1/-1)
app/widgets/token.js (+2/-0)
To merge this branch: bzr merge lp:~hatch/juju-gui/bundle-label-1246462
Reviewer Review Type Date Requested Status
Juju GUI Hackers Pending
Review via email: mp+193478@code.launchpad.net

Description of the change

Adds basket name to bundle token title

https://codereview.appspot.com/20410043/

To post a comment you must log in.
Revision history for this message
Jeff Pihach (hatch) wrote :

Reviewers: mp+193478_code.launchpad.net,

Message:
Please take a look.

Description:
Adds basket name to bundle token title

https://code.launchpad.net/~hatch/juju-gui/bundle-label-1246462/+merge/193478

(do not edit description out of merge proposal)

Please review this at https://codereview.appspot.com/20410043/

Affected files (+5, -1 lines):
   A [revision details]
   M app/templates/bundle-token.handlebars
   M app/widgets/token.js

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/templates/bundle-token.handlebars
=== modified file 'app/templates/bundle-token.handlebars'
--- app/templates/bundle-token.handlebars 2013-10-30 13:23:16 +0000
+++ app/templates/bundle-token.handlebars 2013-10-31 19:01:36 +0000
@@ -22,7 +22,7 @@
          </div>
      </span>
      <span class="title">
- {{ name }}
+ {{basket_name}}:{{ name }}
      </span>
      <span class="metadata">
          <div><strong>{{serviceCount}} {{pluralize 'service' serviceCount}}
| {{unitCount}} {{pluralize 'unit' unitCount}}</strong></div>

Index: app/widgets/token.js
=== modified file 'app/widgets/token.js'
--- app/widgets/token.js 2013-10-25 17:18:05 +0000
+++ app/widgets/token.js 2013-10-31 19:01:36 +0000
@@ -183,6 +183,8 @@

    }, {
      ATTRS: {
+
+ basket_name: {},
        /**
          Bundle charm metadata

Revision history for this message
Madison Scott-Clary (makyo) wrote :
Revision history for this message
Gary Poster (gary) wrote :

LGTM. QAOK if we can increase max-width of #subapp-browser #bws-sidebar
.bws-content .yui3-token .title to 170px in your branch. Seems like it
would fit and looks a lot better. :-) Thank you!

https://codereview.appspot.com/20410043/

Revision history for this message
Jeff Pihach (hatch) wrote :

Thanks for the reviews! token title width was increased to 170, it looks
much better.

https://codereview.appspot.com/20410043/

Revision history for this message
Jeff Pihach (hatch) wrote :

*** Submitted:

Adds basket name to bundle token title

R=matthew.scott, gary.poster
CC=
https://codereview.appspot.com/20410043

https://codereview.appspot.com/20410043/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'app/templates/bundle-token.handlebars'
2--- app/templates/bundle-token.handlebars 2013-10-30 13:23:16 +0000
3+++ app/templates/bundle-token.handlebars 2013-10-31 19:04:42 +0000
4@@ -22,7 +22,7 @@
5 </div>
6 </span>
7 <span class="title">
8- {{ name }}
9+ {{basket_name}}:{{ name }}
10 </span>
11 <span class="metadata">
12 <div><strong>{{serviceCount}} {{pluralize 'service' serviceCount}} | {{unitCount}} {{pluralize 'unit' unitCount}}</strong></div>
13
14=== modified file 'app/widgets/token.js'
15--- app/widgets/token.js 2013-10-25 17:18:05 +0000
16+++ app/widgets/token.js 2013-10-31 19:04:42 +0000
17@@ -183,6 +183,8 @@
18
19 }, {
20 ATTRS: {
21+
22+ basket_name: {},
23 /**
24 Bundle charm metadata
25

Subscribers

People subscribed via source and target branches