-
Notifications
You must be signed in to change notification settings - Fork 58
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
Add see more courses button to intro page #1481
Conversation
…age, adding 'see more courses' link to intro page after displaying 12 courses
$index++; | ||
if ($index >= 12) | ||
{ | ||
echo ' more courses</a>'; |
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.
Why is this being echo-ed instead of being rendered by PHP.
<div class="col span4"></div> | ||
<div class="col span4"> | ||
<p> | ||
<a class="hyper-button" href="/courses/browse">'; |
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 can try using class="btn" here and not introduce .hyper-button
@@ -86,6 +87,23 @@ | |||
{ | |||
$count++; | |||
} | |||
$index++; | |||
if ($index >= 12) |
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.
RE: our chat, > instead of >=
What is the status of the PR?
[X] Ready.
[ ] Work in Progress.
[ ] Hold.
Are there any database schema changes?
[ ] Yes.
[X] No.
Description:
Related tickets:
STEMEd#734 https://stemedhub.org/support/ticket/734
Testing instructions: