Kill trailing whitespace in erb files

This commit is contained in:
小太
2013-03-19 23:11:58 +11:00
parent aef86bda04
commit 1a03a86592
119 changed files with 271 additions and 271 deletions

View File

@@ -1,5 +1,5 @@
<footer id="page-footer">
Running Danbooru v<%= Danbooru.config.version %>
Running Danbooru v<%= Danbooru.config.version %>
&ndash; <%= link_to "Contact", contact_path %>
<% if CurrentUser.user.enable_post_navigation %>
&ndash; <%= link_to "Keyboard shortcuts available", keyboard_shortcuts_path %>

View File

@@ -1,9 +1,9 @@
<div id="c-static">
<div id="a-boomkarklet">
<h1>Bookmarklet</h1>
<p><%= link_to "Post to Danbooru", "javascript:location.href='http://#{Danbooru.config.hostname}/uploads/new?url='+encodeURIComponent(location.href)+'&ref='+encodeURIComponent(document.referrer)" %></p>
<p>Bookmark this link. Next time you are directly viewing an image (that is, the JPG/PNG/GIF file is in the URL bar) you can open this bookmarklet and you will be taken to the upload page. Depending on the site you are uploading from you may also see some options for fetching metadata.</p>
</div>
</div>

View File

@@ -1,7 +1,7 @@
<div id="c-static">
<div id="a-keyboard-shortcuts">
<h1>Keyboard Shortcuts</h1>
<section>
<h1>Listing</h1>
<ul>
@@ -10,7 +10,7 @@
<li><span class="key">q</span> Search</li>
</ul>
</section>
<section>
<h1>Post</h1>
<ul>

View File

@@ -94,14 +94,14 @@
<li><h1>Admin</h1></li>
<li><%= link_to("Mod Actions", mod_actions_path) %></li>
<li><%= link_to("Jobs", delayed_jobs_path) %></li>
<% if CurrentUser.is_admin? %>
<li><%= link_to("Janitor Trials", janitor_trials_path) %></li>
<li><%= link_to("IP Bans", ip_bans_path) %></li>
<li><%= link_to("News Updates", news_updates_path) %></li>
<li><%= link_to("Alias & Implication Import", new_admin_alias_and_implication_import_path) %></li>
<% end %>
<% if Danbooru.config.is_user_advertiser?(CurrentUser.user) %>
<li><%= link_to("Advertisements", advertisements_path) %></li>
<% end %>

View File

@@ -1,7 +1,7 @@
<div id="terms-of-service">
<div class="section">
<h4>Terms of Service</h4>
<p>By accessing the "<%= Danbooru.config.app_name %>" website ("Site") you agree to the following terms of service. If you do not agree to these terms, then please do not access the Site.</p>
<p>By accessing the "<%= Danbooru.config.app_name %>" website ("Site") you agree to the following terms of service. If you do not agree to these terms, then please do not access the Site.</p>
<ul>
<li>The Site reserves the right to change these terms at any time.</li>
@@ -11,13 +11,13 @@
<li>You will make a best faith effort to upload only high quality anime-related images.</li>
<li>You have read the <%= link_to "tagging guidelines", wiki_pages_path(:title => "help:tags") %>.</li>
</ul>
<div class="section">
<h6>Post/Comment Limiting</h6>
<p>You cannot upload a post or comment during the first week of signing up.</p>
<p>After the initial period, you can post up to one comment an hour and a variable number of posts based on how many of your previous uploads were approved or deleted.</p>
</div>
<div class="section">
<h6>Prohibited Content</h6>
<p>In addition, you may not use the Site to upload any of the following:</p>