def captioned_button(req, symbol, text):
    return symbol if req.session.get('ui.use_symbols') \
        else u'%s %s' % (symbol, text)
The delete view should only be accessible to 'moderators'
dataset/ETHPy150Open edgewall/trac/trac/util/presentation.py/captioned_button--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/comment_tests/tests/moderation_view_tests.py/DeleteViewTests.testDeletePermissions