Skip to content
Extraits de code Groupes Projets
Valider e792344c rédigé par Dorian's avatar Dorian Validation de Stephen Caudill
Parcourir les fichiers

Use improved whitespace:scrub_gratuitous_newlines

parent 4223769d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Affichage de
avec 0 ajout et 22 suppressions
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
- content_for :page_title do - content_for :page_title do
profile profile
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
:javascript :javascript
function createUploader(){ function createUploader(){
var uploader = new qq.FileUploader({ var uploader = new qq.FileUploader({
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
%li.message{:id => post.id} %li.message{:id => post.id}
= person_image_tag(post.person) = person_image_tag(post.person)
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
%h1.big_text %h1.big_text
.back .back
= link_to "⇧ #{@album.name}", album_path(@album) = link_to "⇧ #{@album.name}", album_path(@album)
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
- title t('.new_photo') - title t('.new_photo')
= form_for( @photo, :html => {:multipart => true}) do |f| = form_for( @photo, :html => {:multipart => true}) do |f|
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
:javascript :javascript
$(document).keydown(function(e){ $(document).keydown(function(e){
switch(e.keyCode) { switch(e.keyCode) {
...@@ -35,7 +34,6 @@ ...@@ -35,7 +34,6 @@
-if current_user.owns? @album -if current_user.owns? @album
= link_to t('.edit_photo'), edit_photo_path(@photo), :class => "button" = link_to t('.edit_photo'), edit_photo_path(@photo), :class => "button"
%div{:id => @photo.id} %div{:id => @photo.id}
#show_photo #show_photo
= linked_scaled_photo @photo, @album = linked_scaled_photo @photo, @album
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
#debug_info #debug_info
%h5 DEBUG INFO %h5 DEBUG INFO
#debug_more{ :style => "display:none;" } #debug_more{ :style => "display:none;" }
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
%ul %ul
%h3= link_to post.class, object_path(post) %h3= link_to post.class, object_path(post)
- for field in object_fields(post) - for field in object_fields(post)
......
= image_tag "http://needcoffee.cachefly.net/needcoffee/uploads/2009/02/predator-arnold-schwarzenegger.jpg" = image_tag "http://needcoffee.cachefly.net/needcoffee/uploads/2009/02/predator-arnold-schwarzenegger.jpg"
= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| = form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f|
%p %p
= f.label :username = f.label :username
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
%h1 %h1
=t('.add_a_new_friend_to') =t('.add_a_new_friend_to')
%i= aspect.name %i= aspect.name
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
#friend_pictures #friend_pictures
= owner_image_link = owner_image_link
- for friend in @friends - for friend in @friends
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
#aspect_nav #aspect_nav
%ul %ul
- for aspect in @aspects - for aspect in @aspects
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
%li.message{:id => post.id, :class => ("mine" if current_user.owns?(post))} %li.message{:id => post.id, :class => ("mine" if current_user.owns?(post))}
= person_image_link(post.person) = person_image_link(post.person)
= yield post_yield_tag(post) = yield post_yield_tag(post)
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
#publisher #publisher
= owner_image_tag = owner_image_tag
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
:javascript :javascript
$(".reshare_button").toggle(function(e){ $(".reshare_button").toggle(function(e){
e.preventDefault(); e.preventDefault();
......
...@@ -2,5 +2,4 @@ ...@@ -2,5 +2,4 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
= @log.to_s = @log.to_s
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
= form_for StatusMessage.new, :remote => true do |f| = form_for StatusMessage.new, :remote => true do |f|
= f.error_messages = f.error_messages
%p %p
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
%li.message{:id => post.id, :class => ("mine" if current_user.owns?(post))} %li.message{:id => post.id, :class => ("mine" if current_user.owns?(post))}
= person_image_link(post.person) = person_image_link(post.person)
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
%h1.big_text status messages %h1.big_text status messages
= render "status_messages/new_status_message", :status_message => @status_message = render "status_messages/new_status_message", :status_message => @status_message
%ul#stream %ul#stream
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See -# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
- content_for :publish do - content_for :publish do
%h1="#{t('.editing_profile')}" %h1="#{t('.editing_profile')}"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter