Changeset 4dfd188 in RedSur for app/assets
- Timestamp:
- Jun 4, 2015, 10:58:11 AM (9 years ago)
- Branches:
- master, PerfilGrupal, modelo_minuta, profile_fields
- Children:
- 086ab64
- Parents:
- aeb9e43
- Location:
- app/assets
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
app/assets/javascripts/app/helpers/handlebars-helpers.js
r14d95c0 r4dfd188 67 67 return ''; 68 68 }); 69 70 69 71 70 Handlebars.registerHelper('personFrontImage', function(person, size, imageClass) { -
app/assets/stylesheets/profile.scss
r14d95c0 r4dfd188 7 7 margin-left: -10px; 8 8 margin-top: -20px; 9 height: 400px; 10 //background-image: image-url("http://localhost:3000/uploads/images/thumb_large_9973b36472b112bc4e5e.jpg"); 11 //background-repeat: no-repeat; 12 //background-size: 100% 70%; 13 //background-position: center top; 9 height: auto; 14 10 15 11 #front-image { … … 19 15 img.front_image.large { 20 16 width: 100%; 21 height: 300px;17 height: 400px; 22 18 } 23 19 -
app/assets/templates/profile_header_tpl.jst.hbs
r14d95c0 r4dfd188 1 1 {{#if loggedIn}} 2 <div id="front-image"> 3 {{{personFrontImage this "large"}}} 4 </div> 2 {{#if is_group?}} 3 <div id="front-image"> 4 {{{personFrontImage this "large"}}} 5 </div> 6 {{/if}} 5 7 <div class="pull-right"> 6 8 {{#if is_own_profile}}
Note: See TracChangeset
for help on using the changeset viewer.