~homeworkprod/byceps

9d03914c72973f3aaa42044ceb849cac91ac79c9 — Jochen Kupperschmidt 5 months ago 4144a29
Move link to news channel index from admin brand "more" page to admin brand navigation
M byceps/blueprints/admin/core/templates/layout/admin/_navigation_brand.html => byceps/blueprints/admin/core/templates/layout/admin/_navigation_brand.html +6 -0
@@ 49,6 49,12 @@
        required_permission=OrgaDetailPermission.view,
        icon='users')
      .add_item(
        url_for('news_admin.channel_index_for_brand', brand_id=brand.id),
        _('News Channels'),
        id='news_admin',
        required_permission=NewsItemPermission.view,
        icon='news')
      .add_item(
        url_for('shop_shop_admin.view_for_brand', brand_id=brand.id),
        _('Shop'),
        id='shop_shop_admin',

M byceps/blueprints/admin/more/templates/admin/more/view_brand.html => byceps/blueprints/admin/more/templates/admin/more/view_brand.html +0 -1
@@ 16,7 16,6 @@
  {%- with items = [
    (_('Settings'), 'settings', url_for('brand_admin.view', brand_id=brand.id), BrandPermission.view),
    (_('Newsletter Subscriptions'), 'email', url_for('newsletter_admin.view_subscriptions', list_id=brand.id), NewsletterPermission.view_subscriptions),
    (_('News Channels'), 'news', url_for('news_admin.channel_index_for_brand', brand_id=brand.id), NewsItemPermission.view),
    (_('Discussion Boards'), 'board', url_for('board_admin.board_index_for_brand', brand_id=brand.id), BoardCategoryPermission.view),
    (_('Regular Guests'), 'users', url_for('attendance_admin.view_for_brand', brand_id=brand.id), AdminPermission.access),
    (_('Brand Snippets'), 'snippet', url_for('snippet_admin.index_for_scope', scope_type='brand', scope_name=brand.id), SnippetPermission.view),