Lercerss / SOEN341W18

Software Process Winter 2018 Group Project - SA3
6 stars 2 forks source link

Vote indicators #95

Closed Lercerss closed 6 years ago

Lercerss commented 6 years ago

Description

A user should be able to see if they have voted on a post previously.

Tasks

  1. Add conditional style attributes to voting buttons on each post.
  2. Pass context values from the view to allow selection of which buttons to highlight.

Acceptance Test

  1. Upvote an answer.
  2. Notice that the score increases and the button is now different.
  3. Downvote an answer.
  4. Notice that the downvote button is now different and the upvote is back to its original state.
Belize22 commented 6 years ago

issue 95