~homeworkprod/byceps

0f32ddebed1f09618da28526d6702060c237cb51 — Jochen Kupperschmidt 9 months ago 354d934
Flatten package/path of user profile site blueprint
9 files changed, 12 insertions(+), 12 deletions(-)

M byceps/blueprints/blueprints.py
D byceps/blueprints/site/user/profile/__init__.py
R byceps/blueprints/site/{user/__init__.py => user_profile/__init__.py}
R byceps/blueprints/site/{user/profile/templates/site/user/profile/_attended_parties.html => user_profile/templates/site/user_profile/_attended_parties.html}
R byceps/blueprints/site/{user/profile/templates/site/user/profile/_badges.html => user_profile/templates/site/user_profile/_badges.html}
R byceps/blueprints/site/{user/profile/templates/site/user/profile/_contact.html => user_profile/templates/site/user_profile/_contact.html}
R byceps/blueprints/site/{user/profile/templates/site/user/profile/_current_party_attendance.html => user_profile/templates/site/user_profile/_current_party_attendance.html}
R byceps/blueprints/site/{user/profile/templates/site/user/profile/view.html => user_profile/templates/site/user_profile/view.html}
R byceps/blueprints/site/{user/profile/views.py => user_profile/views.py}
M byceps/blueprints/blueprints.py => byceps/blueprints/blueprints.py +1 -1
@@ 72,7 72,7 @@ def _get_blueprints_site() -> Iterator[BlueprintReg]:
        ('site.terms',                      '/terms'                    ),
        ('site.ticketing',                  '/tickets'                  ),
        ('site.tourney',                    '/tourneys'                 ),
        ('site.user.profile',               '/users'                    ),
        ('site.user_profile',               '/users'                    ),
        ('site.user_badge',                 '/user_badges'              ),
        ('site.user_group',                 '/user_groups'              ),
        ('site.user_message',               '/user_messages'            ),

D byceps/blueprints/site/user/profile/__init__.py => byceps/blueprints/site/user/profile/__init__.py +0 -0
R byceps/blueprints/site/user/__init__.py => byceps/blueprints/site/user_profile/__init__.py +0 -0
R byceps/blueprints/site/user/profile/templates/site/user/profile/_attended_parties.html => byceps/blueprints/site/user_profile/templates/site/user_profile/_attended_parties.html +0 -0
R byceps/blueprints/site/user/profile/templates/site/user/profile/_badges.html => byceps/blueprints/site/user_profile/templates/site/user_profile/_badges.html +0 -0
R byceps/blueprints/site/user/profile/templates/site/user/profile/_contact.html => byceps/blueprints/site/user_profile/templates/site/user_profile/_contact.html +0 -0
R byceps/blueprints/site/user/profile/templates/site/user/profile/_current_party_attendance.html => byceps/blueprints/site/user_profile/templates/site/user_profile/_current_party_attendance.html +0 -0
R byceps/blueprints/site/user/profile/templates/site/user/profile/view.html => byceps/blueprints/site/user_profile/templates/site/user_profile/view.html +4 -4
@@ 58,12 58,12 @@
    <div class="user-profile-layout">
      <div class="user-profile-secondary">
        <div class="user-profile-details">
{%- include 'site/user/profile/_current_party_attendance.html' %}
{%- include 'site/user/profile/_contact.html' %}
{%- include 'site/user_profile/_current_party_attendance.html' %}
{%- include 'site/user_profile/_contact.html' %}
        </div>
        <div class="user-profile-details">
{%- include 'site/user/profile/_attended_parties.html' %}
{%- include 'site/user/profile/_badges.html' %}
{%- include 'site/user_profile/_attended_parties.html' %}
{%- include 'site/user_profile/_badges.html' %}
        </div>
      </div>
    </div>

R byceps/blueprints/site/user/profile/views.py => byceps/blueprints/site/user_profile/views.py +7 -7
@@ 1,5 1,5 @@
"""
byceps.blueprints.site.user.profile.views
byceps.blueprints.site.user_profile.views
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:Copyright: 2006-2020 Jochen Kupperschmidt


@@ 10,12 10,12 @@ from operator import attrgetter

from flask import abort, g

from .....services.orga_team import service as orga_team_service
from .....services.ticketing import attendance_service, ticket_service
from .....services.user import service as user_service
from .....services.user_badge import awarding_service as badge_awarding_service
from .....util.framework.blueprint import create_blueprint
from .....util.framework.templating import templated
from ....services.orga_team import service as orga_team_service
from ....services.ticketing import attendance_service, ticket_service
from ....services.user import service as user_service
from ....services.user_badge import awarding_service as badge_awarding_service
from ....util.framework.blueprint import create_blueprint
from ....util.framework.templating import templated


blueprint = create_blueprint('user_profile', __name__)