Ejemplo n.º 1
0
def admin_add_feed():
    """ Present page to add a feed to the system """
    try:
        scripts = External.feeds_available_group_scripts()
    except OSError, err:
        flash(err)
        scripts = []
Ejemplo n.º 2
0
def admin_add_feed():
    """ Present page to add a feed to the system """
    try:
        scripts = External.feeds_available_group_scripts()
    except OSError, err:
        flash(err)
        scripts = []
Ejemplo n.º 3
0
def admin_edit_feed(feed_id):
    """ Present page to edit a feed in the system """
    try:
        feed = Feeds.Feed(f_id=feed_id)
    except KeyError:
        return abort(404)
    try:
        scripts = External.feeds_available_group_scripts()
    except OSError, err:
        flash(err)
        scripts = []
Ejemplo n.º 4
0
def admin_edit_feed(feed_id):
    """ Present page to edit a feed in the system """
    try:
        feed = Feeds.Feed(f_id=feed_id)
    except KeyError:
        return abort(404)
    try:
        scripts = External.feeds_available_group_scripts()
    except OSError as err:
        flash(err)
        scripts = []
    return render_template(
        "admin_edit_group_feed.html",
        feed=feed,
        scripts=scripts
    )
Ejemplo n.º 5
0
def admin_edit_feed(feed_id):
    """ Present page to edit a feed in the system """
    try:
        feed = Feeds.Feed(f_id=feed_id)
    except KeyError:
        return abort(404)
    try:
        scripts = External.feeds_available_group_scripts()
    except OSError as err:
        flash(err)
        scripts = []
    return render_template(
        "admin_edit_group_feed.html",
        feed=feed,
        scripts=scripts
    )