/venus

To download this project, use:
bzr branch http://golem.ph.utexas.edu/~distler/code/venus/

« back to all changes in this revision

Viewing changes to planet/shell/tmpl.py

  • Committer: Sam Ruby
  • Date: 2008-10-13 19:47:02 UTC
  • Revision ID: rubys@intertwingly.net-20081013194702-du4gew7eybqz7y7q
title as default name in subscriptions too...

Show diffs side-by-side

added added

removed removed

161
161
    for name,value in source.items():
162
162
        if name.startswith('planet_'):
163
163
            output[name[7:]] = String(value)
 
164
        if not output.get('name') and source.has_key('title_detail'):
 
165
            output['name'] = Plain(source.title_detail.value)
164
166
 
165
167
    # copy over all planet namespaced elements from child source element
166
168
    if 'source' in source: