<%! from django.utils.translation import ugettext as _ %> <%inherit file="base.html" /> <%def name="online_help_token()"><% return "home" %> <%block name="title">${_("My Courses")} <%block name="bodyclass">is-signedin index view-dashboard <%block name="requirejs"> require(["js/factories/index"], function (IndexFactory) { IndexFactory(); }); <%block name="content">

${_("My Courses")}

% if user.is_active: % endif
% if user.is_active:

${_("Welcome, {0}!").format(user.username)}

%if len(courses) > 0:

${_("Here are all of the courses you currently have access to in Studio:")}

%else:

${_("You currently aren't associated with any Studio Courses.")}

%endif
% if course_creator_status=='granted':

${_("Create a New Course")}

${_("Required Information to Create a New Course")}
  1. ${_("The public display name for your course. This cannot be changed, but you can set a different display name in Advanced Settings later.")}
  2. ${_("The name of the organization sponsoring the course.")} ${_("Note: This is part of your course URL, so no spaces or special characters are allowed.")} ${_("This cannot be changed, but you can set a different display name in Advanced Settings later.")}
  3. ${_("The unique number that identifies your course within your organization.")} ${_("Note: This is part of your course URL, so no spaces or special characters are allowed and it cannot be changed.")}
  4. ${_("The term in which your course will run.")} ${_("Note: This is part of your course URL, so no spaces or special characters are allowed and it cannot be changed.")}
% endif %if allow_course_reruns and rerun_creator_status and len(in_process_course_actions) > 0:

${_("Courses Being Processed")}

    %for course_info in sorted(in_process_course_actions, key=lambda s: s['display_name'].lower() if s['display_name'] is not None else ''): %if course_info['is_in_progress']:
  • ${course_info['display_name']}

    ${_("This course run is currently being created.")}
    ## Translators: This is a status message, used to inform the user of what the system is doing. This status means that the user has requested to re-run an existing course, and the system is currently in the process of duplicating and configuring the existing course so that it can be re-run. ${_("Configuring as re-run")}

    ${_('The new course will be added to your course list in 5-10 minutes. Return to this page or {link_start}refresh it{link_end} to update the course list. The new course will need some manual configuration.').format( link_start='', link_end='', )}

  • %endif %if course_info['is_failed']:
  • ${course_info['display_name']}

    This re-run processing status:
    Configuration Error

    ${_("A system error occurred while your course was being processed. Please go to the original course to try the re-run again, or contact your PM for assistance.")}

  • %endif %endfor
%endif %if len(courses) > 0:
%else:

${_("Are you staff on an existing Studio course?")}

${_('You will need to be added to the course in Studio by the course creator. Please get in touch with the course creator or administrator for the specific course you are helping to author.')}

%if course_creator_status == "granted":

${_('Create Your First Course')}

${_('Your new course is just a click away!')}

% endif
% endif %if course_creator_status == "unrequested":

${_('Becoming a Course Creator in Studio')}

${_('edX Studio is a hosted solution for our xConsortium partners and selected guests. Courses for which you are a team member appear above for you to edit, while course creator privileges are granted by edX. Our team will evaluate your request and provide you feedback within 24 hours during the work week.')}

${_('Your Course Creator Request Status:')}

%elif course_creator_status == "denied":

${_('Your Course Creator Request Status')}

${_('edX Studio is a hosted solution for our xConsortium partners and selected guests. Courses for which you are a team member appear above for you to edit, while course creator privileges are granted by edX. Our team is has completed evaluating your request.')}

${_('Your Course Creator Request Status:')}

${_('Your Course Creator request is:')}
${_('Denied')} ${_('Your request did not meet the criteria/guidelines specified by edX Staff.')}
%elif course_creator_status == "pending":

${_('Your Course Creator Request Status')}

${_('edX Studio is a hosted solution for our xConsortium partners and selected guests. Courses for which you are a team member appear above for you to edit, while course creator privileges are granted by edX. Our team is currently evaluating your request.')}

${_('Your Course Creator Request Status:')}

${_('Your Course Creator request is:')}
${_('Pending')} ${_('Your request is currently being reviewed by edX staff and should be updated shortly.')}
% endif
% else:

${_("Thanks for signing up, %(name)s!") % dict(name= user.username)}

${_("We need to verify your email address")}

${_('Almost there! In order to complete your sign up we need you to verify your email address (%(email)s). An activation message and next steps should be waiting for you there.') % dict(email=user.email)}

%endif