Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #2684 from studentinsights/patch/reverse-reflectio…
…n-default

Reflection: Flip photo layout default
  • Loading branch information
kevinrobinson committed Oct 30, 2019
2 parents 5ae19ab + bc63f3f commit 172279d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/reflection/ReflectionOnNotesPage.js
Expand Up @@ -77,8 +77,8 @@ export default class ReflectionOnNotesPage extends React.Component {
const words = _.flatMap(segments, segment => segment.split(' '));
return (
<div key={student.id} style={{display: 'flex', flexDirection: 'row', marginBottom: 50}}>
<div style={{width: 400, marginRight: 10}}>
{window.location.search.indexOf('photo') !== -1
<div style={{width: 400, marginRight: 10, textAlign: 'center'}}>
{window.location.search.indexOf('cropped') !== -1
? <StudentPhoto
student={student}
style={{height: 400}}
Expand Down
4 changes: 0 additions & 4 deletions app/controllers/reflection_controller.rb
Expand Up @@ -6,10 +6,6 @@ def notes_patterns_json
time_now = Time.now
school_year = SchoolYear.to_school_year(time_now)
start_of_school_year = SchoolYear.first_day_of_school_for_year(school_year)
puts 'time_now:'
puts time_now
puts 'start_of_school_year:'
puts start_of_school_year

students = authorizer.authorized { Student.active.to_a }
event_notes = authorizer.authorized do
Expand Down

0 comments on commit 172279d

Please sign in to comment.