Skip to content

Conversation

@StlMaris123
Copy link
Collaborator

@StlMaris123 StlMaris123 commented May 24, 2018

In your PR did you:
This pr fixes the misaligned button group on cases show page

  • Include a description of the changes?
  • Mention the issue the PR addresses?
  • Include screenshots of any changes to the UI?
  • Isolate any changes to gems (meaning that any new, updated, or removed gems and resulting code changes should be in their own PR)?
  • Add and/or update specs for your code?
    screenshot from 2018-05-24 18-02-38

@rlgreen91
Copy link
Contributor

Can you add a screenshot of how it looks when it's logged in? This looks very nice.

unless @this_case.blank? || @this_case.versions.blank?
@case_history = @this_case.try(:versions).order(created_at: :asc)
end
@case_history = @this_case.try(:versions).sort_by(&:created_at).reverse unless
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you change this back to using .sort_by? I just merged the change to do the reverse at the database level.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed, it

…ged_button

# Conflicts:
#	app/controllers/cases_controller.rb
…nto misaliged_button

# Conflicts:
#	app/controllers/cases_controller.rb
@rlgreen91 rlgreen91 merged commit 0fc011e into master May 26, 2018
@rlgreen91 rlgreen91 deleted the misaliged_button branch May 26, 2018 00:44
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