-
Notifications
You must be signed in to change notification settings - Fork 81
Student courses #2265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 4.0.0-dev
Are you sure you want to change the base?
Student courses #2265
Conversation
…e, and consolidate navigation
| @use '@Core/scss/tokens' as *; | ||
|
|
||
| .tutor-dashboard-courses-wrapper { | ||
| background: #fff; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cannot use hardcoded color codes.
| flex-basis: 200px; | ||
| } | ||
|
|
||
| .tutor-bundle-course-badge { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bundle badge should be added from pro addon
|
|
||
| <div class="tutor-courses-thumb tutor-position-relative"> | ||
| <?php | ||
| if ( $bundle_id ) : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bundle badge should be added from pro addon
templates/dashboard/courses.php
Outdated
| if ( $courses_list && $courses_list->have_posts() ) : | ||
| while ( $courses_list->have_posts() ) : | ||
| $courses_list->the_post(); | ||
| match ( $courses_tab_query_param ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should use separate templates for Wishlist and Quiz attempts.
templates/loop/thumbnail.php
Outdated
| <?php do_action( 'tutor_after_course_loop_thumbnail_link', get_the_ID() ); ?> | ||
| </div> | ||
|
|
||
| <?php if ( ! empty( $tutor_course_img ) ) : ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing this template might affect other places.
templates/loop/title.php
Outdated
| <h3 class="tutor-course-name tutor-fs-5 tutor-fw-medium" title="<?php the_title(); ?>"> | ||
| <a href="<?php echo esc_url( get_the_permalink() ); ?>"><?php the_title(); ?></a> | ||
| </h3> | ||
| <div class="tutor-progress-card-header"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same. Changing this template might affect other places.
…ate, enhance styles
…pdate URLs, and create course templates for active and completed courses
…ry filter section
No description provided.