Switch to unified view

a/Allura/allura/controllers/auth.py b/Allura/allura/controllers/auth.py
...
...
4
import bson
4
import bson
5
from tg import expose, session, flash, redirect, validate, config
5
from tg import expose, session, flash, redirect, validate, config
6
from tg.decorators import with_trailing_slash
6
from tg.decorators import with_trailing_slash
7
from pylons import c, g, request, response
7
from pylons import c, g, request, response
8
from webob import exc as wexc
8
from webob import exc as wexc
9
from ew import jinja2_ew as ew
10
from jinja2.filters import escape as j2_escape
9
11
10
import allura.tasks.repo_tasks
12
import allura.tasks.repo_tasks
11
from allura import model as M
13
from allura import model as M
12
from allura.model.project import TroveCategory
14
from allura.model.project import TroveCategory
13
from allura.lib import validators as V
15
from allura.lib import validators as V
...
...
395
                continue
397
                continue
396
            if app_config is None:
398
            if app_config is None:
397
                continue
399
                continue
398
            title = mb.artifact_title
400
            title = mb.artifact_title
399
            if mb.artifact_url:
401
            if mb.artifact_url:
400
                title = '<a href="%s">%s</a>' % (mb.artifact_url,title)
402
                title = ew.LinkField(label=j2_escape(mb.artifact_title), href=j2_escape(mb.artifact_url)).display()
401
            subscriptions.append(dict(
403
            subscriptions.append(dict(
402
                    subscription_id=mb._id,
404
                    subscription_id=mb._id,
403
                    project_name=project.name,
405
                    project_name=project.name,
404
                    mount_point=app_config.options['mount_point'],
406
                    mount_point=app_config.options['mount_point'],
405
                    artifact_title=title,
407
                    artifact_title=title,