Cleanup
This commit is contained in:
@@ -90,6 +90,8 @@ link(href="{{ url_for('static_pillar', filename='assets/css/project-main.css') }
|
||||
li.text-capitalize
|
||||
a.nav-link.text-muted.px-0(href="{{ url_for('cloud.courses') }}")
|
||||
| Courses
|
||||
li.px-1
|
||||
i.pi-angle-right
|
||||
| {% elif project.category == 'workshop' %}
|
||||
li.text-capitalize
|
||||
a.nav-link.text-muted.px-0(href="{{ url_for('cloud.workshops') }}")
|
||||
@@ -659,10 +661,6 @@ script.
|
||||
/* UI Stuff */
|
||||
$(window).on("load resize",function(){
|
||||
containerResizeY($(window).height());
|
||||
|
||||
if ($(window).width() > 480) {
|
||||
project_container.style.height = (window.innerHeight - project_container.offsetTop) + "px";
|
||||
}
|
||||
});
|
||||
|
||||
{% if current_user_is_subscriber %}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
| {% extends 'layout.html' %}
|
||||
|
||||
include ../../../pillar/src/templates/mixins/components
|
||||
|
||||
| {# Default case is Open Projects #}
|
||||
@@ -78,7 +77,7 @@ meta(name="twitter:image", content="{{ page_header_image }}")
|
||||
|
||||
| {% if (project.status == 'published') or (project.status == 'pending' and current_user.is_authenticated) and project._id != config.MAIN_PROJECT_ID %}
|
||||
+card(
|
||||
class='js-project-go card-fade cursor-pointer mb-4',
|
||||
class='js-project-go card-fade cursor-pointer mb-4 mx-0',
|
||||
data-url="{{ url_for('projects.view', project_url=project.url) }}",
|
||||
tabindex='{{ loop.index }}')
|
||||
| {% if project.picture_header %}
|
||||
|
Reference in New Issue
Block a user