DeeMcCart / CI_PP4_Financial_Planner

Financial_Planner: Authorative information on financial processes in Republic of Ireland
0 stars 1 forks source link

User Story: Show list of articles, including pagination after 6 articles #13

Closed DeeMcCart closed 1 year ago

DeeMcCart commented 1 year ago

EPIC: MVP

As a Site User I can view a paginated list of articles so that I can select one to read

Assumptions:

Admin profile creates the posts

Acceptance Criteria

Tasks (Model - View - Templates)

Model : already done View: :

DeeMcCart commented 1 year ago

23.10.23 Note - Re-used CI template files base.html, index.htm and post_detail (renameed to article_detail).html. Copied across CI style.css & modified classnames to read 'article' rather than 'post'

DeeMcCart commented 1 year ago

Done 23.10.23 see screenprint below (just one article in database at present). Still some work to do on tuning the site appearance in base.html and style.css but will come back to that later.

agile-user-story-ability-to-see-list-of-articles

DeeMcCart commented 1 year ago

Added some more articles so 7 published articles in total to check if pagination is working - yes, as per screenshots below:

Image

see second page here:

Image

DeeMcCart commented 1 year ago

23.10.23 Also informally tested to ensure that the user only sees articles at 'published' status, not 'draft' status