publiclab / plots2

a collaborative knowledge-exchange platform in Rails; we welcome first-time contributors! :balloon:
https://publiclab.org
GNU General Public License v3.0
958 stars 1.83k forks source link

Update blog template to show co-authors #8118

Closed ebarry closed 4 years ago

ebarry commented 4 years ago

Please describe the desired behavior. @joyofsoy would like to see co-authors displayed on https://publiclab.org/blog. This page has some fancy styling which is nice, and needs a little update to include the newer co-authoring feature on Research Notes.

Additional context (optional) The original note shows the co-author: screen_shot_2020-07-06_at_10 05 15_am_480

However, the blog only shows the first author: screen_shot_2020-07-06_at_10 03 51_am

Thank you!

Tlazypanda commented 4 years ago

Hey @ebarry we can probably make an fto out of this as well :sweat_smile: if there is no rush :v:

ebarry commented 4 years ago

that would be ideal! thanks for reviewing this!

mronauli commented 4 years ago

hi @Tlazypanda @ebarry, first timer here! mind if i work on this issue?

Tlazypanda commented 4 years ago

Hey @mronauli Sure go ahead :tada: Just adding here that this issue is an fto-candidate and not an fto (first-timers-only issue) so if you are comfortable with working on this go ahead :100: (in case you face any difficulty with this please feel free to ping :v: )

Tlazypanda commented 4 years ago

Just adding more information about the files involved here to be edited -
https://github.com/publiclab/plots2/blob/94841c82bcbb2b08628743cbdb9dbecdf75b946a/app/views/tag/blog.html.erb#L53

In this line we need to add coauthors like we have in the notes route file lines 30-34 https://github.com/publiclab/plots2/blob/94841c82bcbb2b08628743cbdb9dbecdf75b946a/app/views/notes/show.html.erb#L31

mronauli commented 4 years ago

Thank you @Tlazypanda!