openstackweb/registration/templates/Layout/EditProfilePage_TrainingAdd...

17 lines
846 B
Scheme

<div class="container">
$SetCurrentTab(4)
<% require themedCSS(profile-section) %>
<h1>$Title</h1>
<% if CurrentMember %>
<% include CurrentUserInfoBox LogOutLink=$Top.LogoutUrl, ResignLink=$Top.ResignUrl %>
<% include ProfileNav %>
<% if CurrentMember.isTrainingAdmin %>
$AddTrainingCourseForm
<% else %>
<p>You are not allowed to manage Training Programs.</p>
<% end_if %>
<% else %>
<p>In order to edit your community profile, you will first need to <a href="/Security/login/?BackURL=%2Fprofile%2F">login as a member</a>. Don't have an account? <a href="/join/">Join The Foundation</a></p>
<p><a class="roundedButton" href="/Security/login/?BackURL=%2Fprofile%2F">Login</a> <a href="/join/" class="roundedButton">Join The Foundation</a></p>
<% end_if %>
</div></div>