Skip to content

overview page for series available in a press to be added OMP#855

Open
gemusehandler wants to merge 5 commits into
pkp:mainfrom
gemusehandler:master
Open

overview page for series available in a press to be added OMP#855
gemusehandler wants to merge 5 commits into
pkp:mainfrom
gemusehandler:master

Conversation

@gemusehandler
Copy link
Copy Markdown

No description provided.

adding a page in OMP that displays the available book series.
adding the overview page for the series: seriesIndex.tpl. it was noted that series.tpl would semantically more beautiful but that filename is already taken.
edit facilitates an index page for series
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Aug 15, 2020

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Contributor

@NateWr NateWr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @gemusehandler! Nice work. I've added some comments to the code to reflect some minor syntax and whitespace changes in order to fit our coding style.

I've also provided a commit that just re-arranges your code a little bit so that the series index can be found a /catalog/series instead of /catalog/seriesIndex. You can see that at gemusehandler#1 and you should be able to just merge it into your code.

Comment thread templates/frontend/pages/catalogSeriesIndex.tpl Outdated
Comment thread templates/frontend/pages/catalogSeriesIndex.tpl Outdated
Comment thread templates/frontend/pages/catalogSeriesIndex.tpl Outdated
Comment thread templates/frontend/pages/catalogSeriesIndex.tpl Outdated
Comment thread templates/frontend/pages/catalogSeriesIndex.tpl Outdated
Comment thread templates/frontend/pages/catalogSeriesIndex.tpl Outdated
Comment thread templates/frontend/pages/catalogSeriesIndex.tpl Outdated
</div>

<div class="metadata">
<h3><a href="{url router=$smarty.const.ROUTE_PAGE page="catalog" op="series" path=$browseSeriesItem->getPath()|escape}"> {$browseSeriesItem->getLocalizedFullTitle()|escape}</a></h3>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change h3 to h2 to reflect the page structure.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in that case the h2 at the start of the page needs to become a h1
I understand the reasoning that the larger heading at a page is h1,
but from a site perspective we could have a different view.
I do as suggested.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, good catch. The page title must be in <h1>.

Comment thread templates/frontend/pages/catalogSeriesIndex.tpl Outdated
@gemusehandler
Copy link
Copy Markdown
Author

gemusehandler commented Sep 8, 2020 via email

@NateWr
Copy link
Copy Markdown
Contributor

NateWr commented Sep 9, 2020

Hi @gemusehandler, were you able to make the changes? It doesn't look like there are any new commits in this pull request, so you might need to push them up still.

@gemusehandler
Copy link
Copy Markdown
Author

gemusehandler commented Sep 20, 2020 via email

Base automatically changed from master to main February 18, 2021 02:01
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.

3 participants