2010-11-30 13:52:38 -08:00
|
|
|
- hide_home_link
|
2011-07-01 12:38:13 -07:00
|
|
|
|
2011-07-09 08:45:30 -07:00
|
|
|
= campaign_progress
|
2011-07-01 12:38:13 -07:00
|
|
|
|
2010-11-05 15:45:05 -07:00
|
|
|
#outfit-forms
|
2012-12-29 22:46:36 -08:00
|
|
|
- localized_cache :action_suffix => 'outfit_forms_intro' do
|
2010-12-11 06:37:39 -08:00
|
|
|
#pet-preview
|
|
|
|
= image_tag 'default_preview.png', :alt => ''
|
|
|
|
%span
|
2012-12-29 22:46:36 -08:00
|
|
|
%h1= t 'app_name'
|
|
|
|
%h2= t '.tagline'
|
2012-08-01 12:11:08 -07:00
|
|
|
|
2010-11-05 15:45:05 -07:00
|
|
|
= form_tag load_pet_path, :id => 'load-pet-to-wardrobe' do
|
2012-12-29 22:46:36 -08:00
|
|
|
- localized_cache :action_suffix => 'main_load_pet_form_content' do
|
2010-12-11 06:37:39 -08:00
|
|
|
= origin_tag root_path
|
|
|
|
= destination_tag 'wardrobe'
|
|
|
|
%fieldset
|
2013-01-09 16:40:35 -08:00
|
|
|
%legend= t '.load_pet.legend'
|
2010-12-11 06:37:39 -08:00
|
|
|
= pet_name_tag :id => 'main-pet-name'
|
|
|
|
%button{:type => "submit"}
|
2013-01-09 16:40:35 -08:00
|
|
|
= t '.load_pet.submit'
|
2012-08-01 12:11:08 -07:00
|
|
|
|
2010-11-05 15:45:05 -07:00
|
|
|
= form_tag wardrobe_path, :method => 'get', :id => 'start-from-scratch' do
|
2012-12-29 22:46:36 -08:00
|
|
|
- localized_cache :action_suffix => 'start_from_scratch_form_content' do
|
2010-12-11 06:37:39 -08:00
|
|
|
%fieldset
|
2013-01-09 16:40:35 -08:00
|
|
|
%legend= t '.start_from_scratch.legend'
|
2010-12-11 06:37:39 -08:00
|
|
|
= pet_attribute_select 'color', @colors, 8
|
|
|
|
= pet_attribute_select 'species', @species
|
2013-01-09 16:40:35 -08:00
|
|
|
%input{:type => "submit", :value => t('.start_from_scratch.submit')}
|
2011-07-01 12:38:13 -07:00
|
|
|
|
2012-08-07 14:32:51 -07:00
|
|
|
%ul#sections
|
2012-12-29 22:46:36 -08:00
|
|
|
- localized_cache :action_suffix => 'your_items_module' do
|
2011-07-31 19:55:29 -07:00
|
|
|
%li#your-items-module
|
2011-07-31 15:45:53 -07:00
|
|
|
= link_to image_tag('your_items.png'), your_items_path
|
2012-12-29 22:46:36 -08:00
|
|
|
%h3= link_to t('your_items'), your_items_path
|
2010-12-11 06:37:39 -08:00
|
|
|
%div
|
2013-01-09 16:40:35 -08:00
|
|
|
%h4= t '.your_items.tagline'
|
|
|
|
%p= t '.your_items.description'
|
2011-08-05 08:28:11 -07:00
|
|
|
= form_tag users_path, :method => 'get' do
|
2012-12-29 22:46:36 -08:00
|
|
|
= text_field_tag 'name', '', :type => 'search',
|
2013-01-09 16:40:35 -08:00
|
|
|
:placeholder => t('.your_items.user_search.placeholder')
|
|
|
|
= submit_tag t('.your_items.user_search.submit')
|
2011-07-31 15:45:53 -07:00
|
|
|
|
2012-12-29 22:46:36 -08:00
|
|
|
- localized_cache :action_suffix => 'infinite_closet_module' do
|
2010-12-11 06:37:39 -08:00
|
|
|
%li
|
2012-12-29 22:46:36 -08:00
|
|
|
= link_to image_tag('items.png'), items_path
|
|
|
|
%h3= link_to t('infinite_closet'), items_path
|
2010-12-11 06:37:39 -08:00
|
|
|
%div
|
2013-01-09 16:40:35 -08:00
|
|
|
%h4= t '.infinite_closet.tagline'
|
|
|
|
%p= t '.infinite_closet.description'
|
2010-12-11 06:37:39 -08:00
|
|
|
= form_tag items_path, :method => 'get' do
|
2012-12-29 22:46:36 -08:00
|
|
|
= text_field_tag 'q', '', :type => 'search',
|
2013-01-09 16:40:35 -08:00
|
|
|
:placeholder => t('.infinite_closet.item_search.placeholder')
|
|
|
|
= submit_tag t('.infinite_closet.item_search.submit')
|
2012-08-01 12:11:08 -07:00
|
|
|
|
2012-08-07 14:32:51 -07:00
|
|
|
%li
|
2012-12-29 22:46:36 -08:00
|
|
|
= link_to bulk_pets_path do
|
2012-08-07 14:32:51 -07:00
|
|
|
= image_tag 'http://images.neopets.com/items/mall_ac_garland_spotlight.gif'
|
2012-12-29 22:46:36 -08:00
|
|
|
%h3= link_to t('modeling_hub'), bulk_pets_path
|
2012-08-07 14:32:51 -07:00
|
|
|
%div
|
2013-01-09 16:40:35 -08:00
|
|
|
%h4= t '.modeling_hub.tagline'
|
|
|
|
%p= t '.modeling_hub.description'
|
2012-08-07 14:32:51 -07:00
|
|
|
= form_tag load_pet_path do
|
|
|
|
= origin_tag root_path
|
2013-01-09 16:40:35 -08:00
|
|
|
= pet_name_tag :placeholder => t('.modeling_hub.load_pet.placeholder')
|
|
|
|
= submit_tag t('.modeling_hub.load_pet.submit')
|
2012-08-01 12:11:08 -07:00
|
|
|
|
2012-12-29 22:46:36 -08:00
|
|
|
- localized_cache 'outfits#new latest_contribution' do
|
2012-08-09 19:59:35 -07:00
|
|
|
#latest-contribution
|
2013-01-09 16:40:35 -08:00
|
|
|
= link_to t('.latest_contribution.header'), contributions_path, :id => 'recent-contributions-link'
|
2012-12-29 22:46:36 -08:00
|
|
|
= latest_contribution_description(@latest_contribution)
|
2012-08-09 19:59:35 -07:00
|
|
|
%abbr#latest-contribution-created-at{:title => @latest_contribution.created_at.getutc.iso8601}
|
2012-08-01 12:11:08 -07:00
|
|
|
|
2012-08-08 20:05:32 -07:00
|
|
|
|
|
|
|
#whats-new
|
2012-12-29 22:46:36 -08:00
|
|
|
- localized_cache :action_suffix => 'blog_preview' do
|
2012-08-07 14:32:51 -07:00
|
|
|
#blog-preview
|
|
|
|
%h2
|
|
|
|
%div
|
2012-12-29 22:46:36 -08:00
|
|
|
%a#blog-preview-linkback{:href => 'http://blog.openneo.net/'}
|
2013-01-09 16:40:35 -08:00
|
|
|
= t '.blog.link'
|
2012-08-08 20:05:32 -07:00
|
|
|
|
2012-12-29 22:46:36 -08:00
|
|
|
- localized_cache 'outfits#new newest_items' do
|
2012-08-09 19:35:30 -07:00
|
|
|
#newest-items
|
2013-01-09 16:40:35 -08:00
|
|
|
%h2= t '.newest_items.header'
|
2012-08-09 19:35:30 -07:00
|
|
|
%ul
|
|
|
|
- @newest_items.each do |item|
|
|
|
|
= link_to image_tag(item.thumbnail_url), item
|
2012-08-01 12:11:08 -07:00
|
|
|
|
2013-01-10 14:47:46 -08:00
|
|
|
- localized_cache :action_suffix => 'pet_query_notice' do
|
|
|
|
%script#pet-query-notice-template{:type => 'text/x-jquery-tmpl'}
|
|
|
|
.success
|
|
|
|
%img.inline-image{:src => '${pet_image_url}'}
|
|
|
|
= t '.pet_query.notice_html', :pet_name => '${pet_name}'
|
|
|
|
|
2010-12-06 15:50:13 -08:00
|
|
|
- content_for :javascripts do
|
2013-01-10 14:47:46 -08:00
|
|
|
= include_javascript_libraries :jquery, :jquery_tmpl
|
2010-12-06 15:50:13 -08:00
|
|
|
= include_javascripts :new_outfit_package
|
2011-07-01 12:38:13 -07:00
|
|
|
|