Switch to unified view

a/Allura/allura/lib/macro.py b/Allura/allura/lib/macro.py
...
...
208
        return '<img src="%s" %s/>' % (src, ' '.join(attrs))
208
        return '<img src="%s" %s/>' % (src, ' '.join(attrs))
209
    else:
209
    else:
210
        return '<img src="./attachment/%s" %s/>' % (src, ' '.join(attrs))
210
        return '<img src="./attachment/%s" %s/>' % (src, ' '.join(attrs))
211
211
212
212
213
template_project_admins = string.Template('<a href="$url">$name</a><br>')
213
template_project_admins = string.Template('<a href="$url">$name</a><br/>')
214
@macro()
214
@macro()
215
def project_admins():
215
def project_admins():
216
    from allura import model as M
216
    from allura import model as M
217
    output = ''
217
    output = ''
218
    admin_role = M.ProjectRole.query.get(project_id=c.project._id,name='Admin')
218
    admin_role = M.ProjectRole.query.get(project_id=c.project._id,name='Admin')