Commit 3ad0a007 by Matjaz Gregoric

Remove course about 'Overview' link/tab.

It looks like in the past there used to be several tabs on the
course about page, but the other tabs have been commented
out years ago.

Having a single tab is pointless and confusing, so remove it.
parent 5e9577bf
......@@ -260,41 +260,6 @@
}
}
}
nav {
border-bottom: 1px solid $border-color-2;
@include box-sizing(border-box);
@include clearfix();
margin: 40px 0;
width: flex-grid(12);
&::after {
@extend %faded-hr-divider;
content: "";
display: none;
}
a {
border-bottom: 3px solid transparent;
color: $lighter-base-font-color;
display: inline-block;
letter-spacing: 1px;
margin: 0 15px;
padding: 0px 5px 15px;
text-align: center;
text-transform: lowercase;
&:first-child {
margin-left: 0px;
}
&:hover, &:active, &:focus {
border-color: $border-color-2;
color: $base-font-color;
text-decoration: none;
}
}
}
}
.details {
......
......@@ -193,15 +193,6 @@ from openedx.core.lib.courses import course_image_url
</div>
% endif
<nav aria-label="${_('Course About')}">
<a href="#" class="active">${_("Overview")}</a>
## <a href="#">${_("FAQ")}</a>
## <a href="#">${_("Requirements")}</a>
## <a href="#">${_("Text-book")}</a>
## <a href="#">${_("Syllabus")}</a>
## <a href="#">${_("Reviews")}</a>
</nav>
<div class="inner-wrapper">
${get_course_about_section(request, course, "overview")}
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment