Skip to content
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

Merged
merged 4 commits into from
Jan 21, 2021

Conversation

andrewmagill
Copy link
Contributor

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:

…age, adding 'see more courses' link to intro page after displaying 12 courses
$index++;
if ($index >= 12)
{
echo ' more courses</a>';
Copy link

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">';
Copy link
Contributor

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)

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 >=

@damionjunk damionjunk merged commit 9c1f7b9 into hubzero:dev Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants