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-sharing').click(function () {
$('#preview-sidebar-navbar-sharing, #preview-mode-download').click(function () {
sharing.startLoading();
wardrobe.outfits.share();
showSharing();

View file

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

View file

@ -36,7 +36,8 @@
%li#preview-mode-image= t '.preview.mode.image.name'
= link_to t('.preview.big_picture'), 'javascript:void(0)',
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
#preview-sidebar
%nav#preview-sidebar-navbar

View file

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

View file

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