download link in left sidebar

This commit is contained in:
Emi Matchu 2015-05-03 16:01:08 -05:00
parent 9ca68b02b2
commit caaf524060
5 changed files with 7 additions and 4 deletions

View file

@ -497,7 +497,7 @@ View.Outfits = function (wardrobe) {
} }
$('#preview-sidebar-navbar-closet').click(showCloset); $('#preview-sidebar-navbar-closet').click(showCloset);
$('#preview-sidebar-navbar-sharing').click(function () { $('#preview-sidebar-navbar-sharing, #preview-mode-download').click(function () {
sharing.startLoading(); sharing.startLoading();
wardrobe.outfits.share(); wardrobe.outfits.share();
showSharing(); showSharing();

View file

@ -168,8 +168,7 @@ body.outfits-edit
button button
font-size: 75% font-size: 75%
width: 100% width: 100%
#toggle-big-picture, #preview-mode-note, #report-broken-image #preview-mode a
display: block
font-size: 75% font-size: 75%
margin-top: .5em margin-top: .5em
text-align: center text-align: center

View file

@ -36,7 +36,8 @@
%li#preview-mode-image= t '.preview.mode.image.name' %li#preview-mode-image= t '.preview.mode.image.name'
= link_to t('.preview.big_picture'), 'javascript:void(0)', = link_to t('.preview.big_picture'), 'javascript:void(0)',
id: 'toggle-big-picture' id: 'toggle-big-picture'
= link_to t('.preview.mode.image.report_broken'), '#', = link_to t('.preview.download'), 'javascript:void(0)', id: 'preview-mode-download'
= link_to t('.preview.mode.image.report_broken'), 'javascript:void(0)',
:id => 'report-broken-image', :target => '_blank', 'data-base-url' => new_broken_image_report_path :id => 'report-broken-image', :target => '_blank', 'data-base-url' => new_broken_image_report_path
#preview-sidebar #preview-sidebar
%nav#preview-sidebar-navbar %nav#preview-sidebar-navbar

View file

@ -504,6 +504,8 @@ en-MEEP:
preview: preview:
requirements: requirements:
Flash and Javascript (but not Java!) are required to meep outfeets. Flash and Javascript (but not Java!) are required to meep outfeets.
big_picture: Big Meepit
download: Downmeep
mode: mode:
flash: flash:
name: Fleesh name: Fleesh

View file

@ -563,6 +563,7 @@ en:
requirements: requirements:
Flash and Javascript (but not Java!) are required to preview outfits. Flash and Javascript (but not Java!) are required to preview outfits.
big_picture: Big Picture big_picture: Big Picture
download: Download
mode: mode:
flash: flash:
name: Flash name: Flash