DataMascara / cisc3140-su19-project

https://bc-app-class.herokuapp.com/login/
2 stars 5 forks source link

Develop View Post View #18

Closed Maker-Mark closed 5 years ago

Maker-Mark commented 5 years ago

We need a way to display a post. TODO: -Given a post id, find all the associated comments, votes etc. -Check-in with the front end team and review if the template for this view has been developed yet

mary060196 commented 5 years ago

Thanks! See my comment to #17

Maker-Mark commented 5 years ago

Thanks! See my comment to #17

Great to know it's on the way! We'll try to get someone on our end on it!

mary060196 commented 5 years ago

Sure; no problem!

mary060196 commented 5 years ago

Mark! The HTML, CSS and JavaScript files for the Homepage (posts.html) is added! The test.py was added an example of this template's rendering! Please, tell me if everything is good once you check it out. Thanks!!!

mary060196 commented 5 years ago

@andrewalexgit , I do not quite understand what you are asking about in the test.py. What I said about

Note the optional 'search' argument passed to the function, and see what happens on the localhost's screen when you run the file!

is that there is a search argument (search) that is being passed into the render_template function. However, I asked the Back End team to remove this argument from the function because the search feature is not implemented yet. Once it is implemented, I'll remind you about it. When search is passed to the template, a header is displayed on the screen that says: "Search Results for:...", which is all what it does. Thank you!

Maker-Mark commented 5 years ago

Done and closed