~jcsackett/charmworld/bac-tag-constraints

« back to all changes in this revision

Viewing changes to charmworld/templates/charm.pt

[r=adeuring,abentley][bug=1204985][author=adeuring] do not try to use non-existent value charm['store_data']['address'] in templates; property Charm.address added.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
            </ul>
47
47
          </div>
48
48
 
49
 
          <div class="field" tal:condition="charm.store_data.get('errors', False)">
 
49
          <div class="field" tal:condition="not charm.store_data.get('errors', False)">
50
50
            <b>Charm Store</b><br/>
51
 
            <em>juju deploy ${charm.store_data['address']}</em>
 
51
            <em>juju deploy ${charm.address}</em>
52
52
          </div>
53
53
 
54
54
          <div class="field">