https://docs.djangoproject.com/en/1.11/releases/1.10/#using-user-is-authenticated-and-user-is-anonymous-as-methods
17 lines
605 B
HTML
17 lines
605 B
HTML
<%page expression_filter="h"/>
|
|
<%inherit file="accomplishment-base.html" />
|
|
<%! from django.utils.translation import ugettext as _ %>
|
|
|
|
% if user.is_authenticated and user.id == int(accomplishment_user_id):
|
|
<%include file="_accomplishment-banner.html" />
|
|
% endif
|
|
<%include file="_accomplishment-introduction.html" />
|
|
|
|
<%include file="_accomplishment-rendering.html" />
|
|
<div class="wrapper-about">
|
|
<aside role="complementary" class="about" aria-label=${_("About edX Certificates")}>
|
|
<%include file="_about-edx.html" />
|
|
<%include file="_about-accomplishments.html" />
|
|
</aside>
|
|
</div>
|