Skip to content

Commit

Permalink
Print the name in uppercase in the (EPL-generated) nametags, as users…
Browse files Browse the repository at this point in the history
… regard it as more readable
  • Loading branch information
gwolf committed Sep 9, 2011
1 parent ac41c78 commit efbe1bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/nametag_format.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def generate_for(person)
'Q%d,%d' % [v_size, v_gap],
'q%d' % h_size,
'N',
text_line(person.firstname, h_start, v_start),
text_line(person.famname, h_start, v_start + 50),
text_line(person.firstname.upcase, h_start, v_start),
text_line(person.famname.upcase, h_start, v_start + 50),
text_line(person.email, h_start, v_start + 100, 3, false),
barcode_line(person),
'P',
Expand Down

0 comments on commit efbe1bd

Please sign in to comment.