Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified app/assets/images/flags/cn.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/cn@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/cn@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/flags/de.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/de@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/de@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/flags/en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/en@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/en@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/flags/es.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/es@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/es@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/flags/fr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/fr@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/fr@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/flags/hk.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/hk@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/hk@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/flags/hr.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/hr@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/hr@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/flags/id.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/id@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/id@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/flags/ja.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/flags/ja@2x.png
Binary file added app/assets/images/flags/ja@4x.png
Binary file modified app/assets/images/flags/ko.png
Binary file added app/assets/images/flags/ko@2x.png
Binary file added app/assets/images/flags/ko@4x.png
Binary file modified app/assets/images/flags/my.png
Binary file added app/assets/images/flags/my@2x.png
Binary file added app/assets/images/flags/my@4x.png
Binary file modified app/assets/images/flags/nl.png
100755 → 100644
Binary file added app/assets/images/flags/nl@2x.png
Binary file added app/assets/images/flags/nl@4x.png
Binary file modified app/assets/images/flags/pl.png
Binary file added app/assets/images/flags/pl@2x.png
Binary file added app/assets/images/flags/pl@4x.png
Binary file modified app/assets/images/flags/pt.png
Binary file added app/assets/images/flags/pt@2x.png
Binary file added app/assets/images/flags/pt@4x.png
Binary file modified app/assets/images/flags/ro.png
Binary file added app/assets/images/flags/ro@2x.png
Binary file added app/assets/images/flags/ro@4x.png
Binary file modified app/assets/images/flags/ru.png
100755 → 100644
Binary file added app/assets/images/flags/ru@2x.png
Binary file added app/assets/images/flags/ru@4x.png
4 changes: 3 additions & 1 deletion app/assets/stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@

.rjust { text-align: right ; }

.qrcode { text-align: center; }
.qrcode { text-align: center; }

.flag { outline: 1px solid #ddd; }
3 changes: 2 additions & 1 deletion app/views/layouts/application.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@

%p.pull-right
- ::Rails.application.config.available_locales.each do |locale|
= link_to image_tag("flags/#{locale}.png"), "?locale=#{locale}", data: {no_turbolink: true}
- flag_basename = "flags/#{locale}"
= link_to image_tag("#{flag_basename}.png", srcset: { "#{flag_basename}@2x.png" => "2x", "#{flag_basename}@4x.png" => "4x" }, class: "flag"), "?locale=#{locale}", data: {no_turbolink: true}
%p
©
= link_to t('tip4commit'), 'http://tip4commit.com/', target: '_blank'
Expand Down