mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-01 03:46:44 +01:00
Fix whitespace errors
These were largely found with three regular expressions: %> [.;,] ( <% %> \w+ <
This commit is contained in:
parent
da2796c76b
commit
87eabaa48f
43 changed files with 68 additions and 187 deletions
|
@ -57,7 +57,7 @@
|
||||||
</strong>
|
</strong>
|
||||||
<%= if contacted?(link) do %>
|
<%= if contacted?(link) do %>
|
||||||
<br /> by <%= link.contacted_by_user.name %>
|
<br /> by <%= link.contacted_by_user.name %>
|
||||||
<br /> ( <%= pretty_time(link.contacted_at) %> )
|
<br /> (<%= pretty_time(link.contacted_at) %>)
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div class="walloftext">
|
<div class="walloftext">
|
||||||
<h1>
|
<h1>
|
||||||
<%= @user.name %> 's Donations
|
<%= @user.name %>'s Donations
|
||||||
</h1>
|
</h1>
|
||||||
<%= render(PhilomenaWeb.Admin.DonationView, "_table.html", donations: @donations, conn: @conn) %>
|
<%= render(PhilomenaWeb.Admin.DonationView, "_table.html", donations: @donations, conn: @conn) %>
|
||||||
<h1>
|
<h1>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
</a>
|
</a>
|
||||||
<p>
|
<p>
|
||||||
<strong>
|
<strong>
|
||||||
Derpibooru costs over $25 a day to operate - <%= link("help support us financially", to: "/pages/donations") %> !
|
Derpibooru costs over $25 a day to operate - <%= link("help support us financially", to: "/pages/donations") %>!
|
||||||
</strong>
|
</strong>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,13 +3,13 @@
|
||||||
You've been banned!
|
You've been banned!
|
||||||
</h4>
|
</h4>
|
||||||
<p>
|
<p>
|
||||||
You cannot create comments or posts or update metadata (or do anything but read, really) until <%= pretty_time(@conn.assigns.current_ban.valid_until) %> .
|
You cannot create comments or posts or update metadata (or do anything but read, really) until <%= pretty_time(@conn.assigns.current_ban.valid_until) %>.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
The reason given by the administrator who banned you is: <br />
|
The reason given by the administrator who banned you is: <br />
|
||||||
<strong>
|
<strong>
|
||||||
<%= @conn.assigns.current_ban.reason %>
|
<%= @conn.assigns.current_ban.reason %>
|
||||||
</strong>
|
</strong>
|
||||||
(Ban ID: <%= @conn.assigns.current_ban.generated_ban_id %> ).
|
(Ban ID: <%= @conn.assigns.current_ban.generated_ban_id %>).
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -14,11 +14,7 @@
|
||||||
picarto_channel_name
|
picarto_channel_name
|
||||||
</em>
|
</em>
|
||||||
</code>
|
</code>
|
||||||
is
|
is <code>picarto_channel_name</code>.
|
||||||
<code>
|
|
||||||
picarto_channel_name
|
|
||||||
</code>
|
|
||||||
.
|
|
||||||
</div>
|
</div>
|
||||||
<div class="fieldlabel">
|
<div class="fieldlabel">
|
||||||
The short name of
|
The short name of
|
||||||
|
@ -28,11 +24,7 @@
|
||||||
piczel_channel_name
|
piczel_channel_name
|
||||||
</em>
|
</em>
|
||||||
</code>
|
</code>
|
||||||
is
|
is <code>piczel_channel_name</code>. <br />
|
||||||
<code>
|
|
||||||
piczel_channel_name
|
|
||||||
</code>
|
|
||||||
. <br />
|
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
<strong class="comment_deleted">
|
<strong class="comment_deleted">
|
||||||
Deletion reason: <%= @comment.deletion_reason %>
|
Deletion reason: <%= @comment.deletion_reason %>
|
||||||
<%= if can?(@conn, :hide, @comment) and not is_nil(@comment.deleted_by) do %>
|
<%= if can?(@conn, :hide, @comment) and not is_nil(@comment.deleted_by) do %>
|
||||||
( <%= @comment.deleted_by.name %> )
|
(<%= @comment.deleted_by.name %>)
|
||||||
<% end %>
|
<% end %>
|
||||||
</strong>
|
</strong>
|
||||||
<%= if can?(@conn, :hide, @comment) do %>
|
<%= if can?(@conn, :hide, @comment) do %>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
<strong class="comment_deleted">
|
<strong class="comment_deleted">
|
||||||
Deletion reason: <%= @comment.deletion_reason %>
|
Deletion reason: <%= @comment.deletion_reason %>
|
||||||
<%= if can?(@conn, :hide, @comment) and not is_nil(@comment.deleted_by) do %>
|
<%= if can?(@conn, :hide, @comment) and not is_nil(@comment.deleted_by) do %>
|
||||||
( <%= @comment.deleted_by.name %> )
|
(<%= @comment.deleted_by.name %>)
|
||||||
<% end %>
|
<% end %>
|
||||||
</strong>
|
</strong>
|
||||||
<%= if can?(@conn, :hide, @comment) do %>
|
<%= if can?(@conn, :hide, @comment) do %>
|
||||||
|
|
|
@ -7,11 +7,7 @@
|
||||||
<%= submit("Search", class: "hform__button button") %>
|
<%= submit("Search", class: "hform__button button") %>
|
||||||
</div>
|
</div>
|
||||||
<div class="fieldlabel">
|
<div class="fieldlabel">
|
||||||
For more information, see the
|
For more information, see the <a href="/pages/search_syntax">search syntax documentation</a>. Search results are sorted by creation date.
|
||||||
<a href="/pages/search_syntax">
|
|
||||||
search syntax documentation
|
|
||||||
</a>
|
|
||||||
. Search results are sorted by creation date.
|
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<h2>
|
<h2>
|
||||||
|
@ -52,31 +48,8 @@
|
||||||
Default search
|
Default search
|
||||||
</h3>
|
</h3>
|
||||||
<p>
|
<p>
|
||||||
If you do not specify a field to search over, the search engine will
|
If you do not specify a field to search over, the search engine will search for comments with a body that is similar to the query's <em>word stems</em>. For example, comments containing the words <code>winged humanization</code>, <code>wings</code>, and <code>spread wings</code>
|
||||||
search for comments with a body that is similar to the query's
|
would all be found by a search for <code>wing</code>, but <code>sewing</code>
|
||||||
<em>
|
|
||||||
word stems
|
|
||||||
</em>
|
|
||||||
. For example, comments containing the words
|
|
||||||
<code>
|
|
||||||
winged humanization
|
|
||||||
</code>
|
|
||||||
,
|
|
||||||
<code>
|
|
||||||
wings
|
|
||||||
</code>
|
|
||||||
, and
|
|
||||||
<code>
|
|
||||||
spread wings
|
|
||||||
</code>
|
|
||||||
would all be found by a search for
|
|
||||||
<code>
|
|
||||||
wing
|
|
||||||
</code>
|
|
||||||
, but
|
|
||||||
<code>
|
|
||||||
sewing
|
|
||||||
</code>
|
|
||||||
would not be.
|
would not be.
|
||||||
</p>
|
</p>
|
||||||
<h3>
|
<h3>
|
||||||
|
|
|
@ -37,7 +37,7 @@ pagination = render(PhilomenaWeb.PaginationView, "_pagination.html", page: @comm
|
||||||
<strong>
|
<strong>
|
||||||
Price Range:
|
Price Range:
|
||||||
</strong>
|
</strong>
|
||||||
$ <%= Decimal.round(min.base_price, 2) |> Decimal.to_string() %> - $ <%= Decimal.round(max.base_price, 2) |> Decimal.to_string() %> USD
|
$<%= Decimal.round(min.base_price, 2) |> Decimal.to_string() %> - $<%= Decimal.round(max.base_price, 2) |> Decimal.to_string() %> USD
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<strong>
|
<strong>
|
||||||
|
|
|
@ -36,7 +36,7 @@ pagination = render(PhilomenaWeb.PaginationView, "_pagination.html", page: @conv
|
||||||
<%= link(c.title, to: ~p"/conversations/#{c}") %>
|
<%= link(c.title, to: ~p"/conversations/#{c}") %>
|
||||||
<div class="small-text hide-mobile">
|
<div class="small-text hide-mobile">
|
||||||
<%= count %>
|
<%= count %>
|
||||||
<%= pluralize("message", "messages", count) %> ; started <%= pretty_time(c.created_at) %> , last message <%= pretty_time(c.last_message_at) %>
|
<%= pluralize("message", "messages", count) %>; started <%= pretty_time(c.created_at) %>, last message <%= pretty_time(c.last_message_at) %>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="table--communication-list__stats">
|
<td class="table--communication-list__stats">
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
<br />
|
<br />
|
||||||
<%= link("My Listings", to: ~p"/dnp?#{[mine: "1"]}") %>
|
<%= link("My Listings", to: ~p"/dnp?#{[mine: "1"]}") %>
|
||||||
<% not is_nil(@current_user) -> %>
|
<% not is_nil(@current_user) -> %>
|
||||||
You must have a verified artist link to create and manage DNP entries. <%= link("Request an artist link", to: ~p"/profiles/#{@current_user}/artist_links/new") %> .
|
You must have a verified artist link to create and manage DNP entries. <%= link("Request an artist link", to: ~p"/profiles/#{@current_user}/artist_links/new") %>.
|
||||||
<% true -> %>
|
<% true -> %>
|
||||||
You must be logged in and have a verified artist link to create and manage DNP entries.
|
You must be logged in and have a verified artist link to create and manage DNP entries.
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
<%= if is_nil(@image) do %>
|
<%= if is_nil(@image) do %>
|
||||||
(Image now hard-deleted)
|
(Image now hard-deleted)
|
||||||
<% else %>
|
<% else %>
|
||||||
# <%= @image.id %>
|
#<%= @image.id %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</p>
|
</p>
|
||||||
<%= render(PhilomenaWeb.ImageView, "_image_container.html", image: @image, size: :thumb_small, conn: @conn) %>
|
<%= render(PhilomenaWeb.ImageView, "_image_container.html", image: @image, size: :thumb_small, conn: @conn) %>
|
||||||
<p>
|
<p>
|
||||||
<%= @image.image_width %> x <%= @image.image_height %>
|
<%= @image.image_width %>x<%= @image.image_height %>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<%= render(PhilomenaWeb.UserAttributionView, "_anon_user.html", object: @image, conn: @conn) %>
|
<%= render(PhilomenaWeb.UserAttributionView, "_anon_user.html", object: @image, conn: @conn) %>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<div class="filter-options">
|
<div class="filter-options">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
Spoilers <%= length(@filter.spoilered_tag_ids) %> , hides <%= length(@filter.hidden_tag_ids) %>
|
Spoilers <%= length(@filter.spoilered_tag_ids) %>, hides <%= length(@filter.hidden_tag_ids) %>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<%= link("View this filter", to: ~p"/filters/#{@filter}", class: "button") %>
|
<%= link("View this filter", to: ~p"/filters/#{@filter}", class: "button") %>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<h1>
|
<h1>
|
||||||
<%= @fingerprint %> 's fingerprint profile
|
<%= @fingerprint %>'s fingerprint profile
|
||||||
</h1>
|
</h1>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -57,10 +57,7 @@ info = render(PhilomenaWeb.PaginationView, "_pagination_info.html", page: @image
|
||||||
A gallery by
|
A gallery by
|
||||||
</span>
|
</span>
|
||||||
<%= link(@gallery.creator.name, to: ~p"/profiles/#{@gallery.creator}") %> with <%= @gallery.image_count %>
|
<%= link(@gallery.creator.name, to: ~p"/profiles/#{@gallery.creator}") %> with <%= @gallery.image_count %>
|
||||||
<%= pluralize("image", "images", @gallery.image_count) %>
|
<%= pluralize("image", "images", @gallery.image_count) %><span class="hide-mobile-t">, last updated <%= pretty_time(@gallery.updated_at) %></span>
|
||||||
<span class="hide-mobile-t">
|
|
||||||
, last updated <%= pretty_time(@gallery.updated_at) %>
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="block__content flex js-imagelist-info">
|
<div class="block__content flex js-imagelist-info">
|
||||||
<div class="flex__fixed thumb-tiny-container spacing-right">
|
<div class="flex__fixed thumb-tiny-container spacing-right">
|
||||||
|
|
|
@ -89,7 +89,7 @@
|
||||||
<%= render(PhilomenaWeb.ImageView, "_uploader.html", assigns) %>
|
<%= render(PhilomenaWeb.ImageView, "_uploader.html", assigns) %>
|
||||||
</div>
|
</div>
|
||||||
<span class="image-size">
|
<span class="image-size">
|
||||||
<%= @image.image_width %> x <%= @image.image_height %>
|
<%= @image.image_width %>x<%= @image.image_height %>
|
||||||
<%= if not is_nil(@image.image_duration) and @image.image_is_animated and @image.image_duration > 0 do %>
|
<%= if not is_nil(@image.image_duration) and @image.image_is_animated and @image.image_duration > 0 do %>
|
||||||
<span class="image-size" title={@image.image_duration}>
|
<span class="image-size" title={@image.image_duration}>
|
||||||
<% dur = trunc(@image.image_duration) %>
|
<% dur = trunc(@image.image_duration) %>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<%= img_tag(static_path(@conn, "/images/tagblocked.svg"), width: 250, height: 250, data: [click_unfilter: @image.id]) %>
|
<%= img_tag(static_path(@conn, "/images/tagblocked.svg"), width: 250, height: 250, data: [click_unfilter: @image.id]) %>
|
||||||
</p>
|
</p>
|
||||||
<span class="filter-explanation"></span>
|
<span class="filter-explanation"></span>
|
||||||
<%= link("your current filter", to: ~p"/filters/#{@conn.assigns.current_filter}", class: "filter-link") %> .
|
<%= link("your current filter", to: ~p"/filters/#{@conn.assigns.current_filter}", class: "filter-link") %>.
|
||||||
</div>
|
</div>
|
||||||
<%= if size == :full and not embed_display do %>
|
<%= if size == :full and not embed_display do %>
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
<spanspan class="hide-mobile">
|
<spanspan class="hide-mobile">
|
||||||
History
|
History
|
||||||
</spanspan>
|
</spanspan>
|
||||||
( <%= @source_change_count %> )
|
(<%= @source_change_count %>)
|
||||||
</a>
|
</a>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= if can?(@conn, :hide, @image) and not hide_staff_tools?(@conn) do %>
|
<%= if can?(@conn, :hide, @image) and not hide_staff_tools?(@conn) do %>
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
</a>
|
</a>
|
||||||
<%= if @tag_change_count > 0 do %>
|
<%= if @tag_change_count > 0 do %>
|
||||||
<a class="button button--link button--inline" href={~p"/images/#{@image}/tag_changes"} title="Tag history">
|
<a class="button button--link button--inline" href={~p"/images/#{@image}/tag_changes"} title="Tag history">
|
||||||
<i class="fa fa-history"></i> History ( <%= @tag_change_count %> )
|
<i class="fa fa-history"></i> History (<%= @tag_change_count %>)
|
||||||
</a>
|
</a>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<h1>
|
<h1>
|
||||||
Viewing last 25 versions of comment by <%= render(PhilomenaWeb.UserAttributionView, "_anon_user.html", object: @comment, conn: @conn) %> on image
|
Viewing last 25 versions of comment by <%= render(PhilomenaWeb.UserAttributionView, "_anon_user.html", object: @comment, conn: @conn) %> on image
|
||||||
<a href={~p"/images/#{@comment.image}"}>
|
<a href={~p"/images/#{@comment.image}"}>
|
||||||
# <%= @comment.image_id %>
|
#<%= @comment.image_id %>
|
||||||
</a>
|
</a>
|
||||||
</h1>
|
</h1>
|
||||||
<%= for version <- @versions do %>
|
<%= for version <- @versions do %>
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
If you originally uploaded the file previously located here, please don't re-upload it - <%= link("contact us", to: "/pages/contact") %> if you feel this was in error and we'll talk! We're only human, and mistakes happen.
|
If you originally uploaded the file previously located here, please don't re-upload it - <%= link("contact us", to: "/pages/contact") %> if you feel this was in error and we'll talk! We're only human, and mistakes happen.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Here's the <%= link("tagging guidelines", to: "/pages/tags") %> and <%= link("rules of the site", to: "/pages/rules") %> . Other useful links can be found at the bottom of the page.
|
Here's the <%= link("tagging guidelines", to: "/pages/tags") %> and <%= link("rules of the site", to: "/pages/rules") %>. Other useful links can be found at the bottom of the page.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div class="block__header__title hide-mobile">
|
<div class="block__header__title hide-mobile">
|
||||||
Viewing related images for
|
Viewing related images for
|
||||||
<strong>
|
<strong>
|
||||||
# <%= @image.id %>
|
#<%= @image.id %>
|
||||||
</strong>
|
</strong>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<h1>
|
<h1>
|
||||||
Source changes for
|
Source changes for
|
||||||
<a href={~p"/images/#{@image}"}>
|
<a href={~p"/images/#{@image}"}>
|
||||||
image # <%= @image.id %>
|
image #<%= @image.id %>
|
||||||
</a>
|
</a>
|
||||||
</h1>
|
</h1>
|
||||||
<% route = fn p -> ~p"/images/#{@image}/source_changes?#{p}" end %>
|
<% route = fn p -> ~p"/images/#{@image}/source_changes?#{p}" end %>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<h1>
|
<h1>
|
||||||
Tag changes for
|
Tag changes for
|
||||||
<a href={~p"/images/#{@image}"}>
|
<a href={~p"/images/#{@image}"}>
|
||||||
image # <%= @image.id %>
|
image #<%= @image.id %>
|
||||||
</a>
|
</a>
|
||||||
</h1>
|
</h1>
|
||||||
<% route = fn p -> ~p"/images/#{@image}/tag_changes?#{p}" end %>
|
<% route = fn p -> ~p"/images/#{@image}/tag_changes?#{p}" end %>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<% tag_input = Enum.map_join(@image.locked_tags, ", ", & &1.name) %>
|
<% tag_input = Enum.map_join(@image.locked_tags, ", ", & &1.name) %>
|
||||||
<h1>
|
<h1>
|
||||||
Editing locked tags on image # <%= @image.id %>
|
Editing locked tags on image #<%= @image.id %>
|
||||||
</h1>
|
</h1>
|
||||||
<%= form_for @changeset, ~p"/images/#{@image}/tag_lock", fn f -> %>
|
<%= form_for @changeset, ~p"/images/#{@image}/tag_lock", fn f -> %>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<h1>
|
<h1>
|
||||||
<%= @ip %> 's IP profile
|
<%= @ip %>'s IP profile
|
||||||
</h1>
|
</h1>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -28,6 +28,6 @@
|
||||||
<a href="https://github.com/philomena-dev/philomena">
|
<a href="https://github.com/philomena-dev/philomena">
|
||||||
philomena
|
philomena
|
||||||
</a>
|
</a>
|
||||||
( <%= render_time(@conn) %> ms)
|
(<%= render_time(@conn) %> ms)
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -130,7 +130,7 @@
|
||||||
</div>
|
</div>
|
||||||
<% else %>
|
<% else %>
|
||||||
<a class="header__link hide-mobile" href="/filters">
|
<a class="header__link hide-mobile" href="/filters">
|
||||||
Filters ( <%= @current_filter.name %> )
|
Filters (<%= @current_filter.name %>)
|
||||||
</a>
|
</a>
|
||||||
<span class="js-burger-links hide-mobile">
|
<span class="js-burger-links hide-mobile">
|
||||||
<a class="header__link" href="/settings/edit">
|
<a class="header__link" href="/settings/edit">
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
<strong class="comment_deleted">
|
<strong class="comment_deleted">
|
||||||
Deletion reason: <%= @post.deletion_reason %>
|
Deletion reason: <%= @post.deletion_reason %>
|
||||||
<%= if can?(@conn, :hide, @post) and not is_nil(@post.deleted_by) do %>
|
<%= if can?(@conn, :hide, @post) and not is_nil(@post.deleted_by) do %>
|
||||||
( <%= @post.deleted_by.name %> )
|
(<%= @post.deleted_by.name %>)
|
||||||
<% end %>
|
<% end %>
|
||||||
</strong>
|
</strong>
|
||||||
<%= if can?(@conn, :hide, @post) do %>
|
<%= if can?(@conn, :hide, @post) do %>
|
||||||
|
|
|
@ -7,11 +7,7 @@
|
||||||
<%= submit("Search", class: "hform__button button") %>
|
<%= submit("Search", class: "hform__button button") %>
|
||||||
</div>
|
</div>
|
||||||
<div class="fieldlabel">
|
<div class="fieldlabel">
|
||||||
For more information, see the
|
For more information, see the <a href="/pages/search_syntax">search syntax documentation</a>. Search results are sorted by creation date.
|
||||||
<a href="/pages/search_syntax">
|
|
||||||
search syntax documentation
|
|
||||||
</a>
|
|
||||||
. Search results are sorted by creation date.
|
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<h2>
|
<h2>
|
||||||
|
@ -62,31 +58,8 @@
|
||||||
Default search
|
Default search
|
||||||
</h3>
|
</h3>
|
||||||
<p>
|
<p>
|
||||||
If you do not specify a field to search over, the search engine will
|
If you do not specify a field to search over, the search engine will search for posts with a body that is similar to the query's <em>word stems</em>. For example, posts containing the words <code>winged humanization</code>, <code>wings</code>, and <code>spread wings</code>
|
||||||
search for posts with a body that is similar to the query's
|
would all be found by a search for <code>wing</code>, but <code>sewing</code>
|
||||||
<em>
|
|
||||||
word stems
|
|
||||||
</em>
|
|
||||||
. For example, posts containing the words
|
|
||||||
<code>
|
|
||||||
winged humanization
|
|
||||||
</code>
|
|
||||||
,
|
|
||||||
<code>
|
|
||||||
wings
|
|
||||||
</code>
|
|
||||||
, and
|
|
||||||
<code>
|
|
||||||
spread wings
|
|
||||||
</code>
|
|
||||||
would all be found by a search for
|
|
||||||
<code>
|
|
||||||
wing
|
|
||||||
</code>
|
|
||||||
, but
|
|
||||||
<code>
|
|
||||||
sewing
|
|
||||||
</code>
|
|
||||||
would not be.
|
would not be.
|
||||||
</p>
|
</p>
|
||||||
<h3>
|
<h3>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
You have not added any items to your commissions sheet yet.
|
You have not added any items to your commissions sheet yet.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Your listing will not appear in search results until you <%= link("list at least one item", to: ~p"/profiles/#{@user}/commission/items/new") %> .
|
Your listing will not appear in search results until you <%= link("list at least one item", to: ~p"/profiles/#{@user}/commission/items/new") %>.
|
||||||
</p>
|
</p>
|
||||||
<% else %>
|
<% else %>
|
||||||
<p>
|
<p>
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
<%= description %>
|
<%= description %>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
$ <%= Decimal.round(item.base_price, 2) %>
|
$<%= Decimal.round(item.base_price, 2) %>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<%= add_ons %>
|
<%= add_ons %>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<h1>
|
<h1>
|
||||||
<%= @commission.user.name %> 's Commissions
|
<%= @commission.user.name %>'s Commissions
|
||||||
</h1>
|
</h1>
|
||||||
<div class="column-layout">
|
<div class="column-layout">
|
||||||
<% # Side column %>
|
<% # Side column %>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<h2>
|
<h2>
|
||||||
<%= link(@user.name, to: ~p"/profiles/#{@user}") %> 's User Details
|
<%= link(@user.name, to: ~p"/profiles/#{@user}") %>'s User Details
|
||||||
</h2>
|
</h2>
|
||||||
<h4>
|
<h4>
|
||||||
Mod Notes
|
Mod Notes
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<%= for u <- @other_users[ufp.fingerprint] do %>
|
<%= for u <- @other_users[ufp.fingerprint] do %>
|
||||||
<li>
|
<li>
|
||||||
<%= link(u.user.name, to: ~p"/profiles/#{u.user}") %> ( <%= u.uses %> uses, last used <%= pretty_time(u.updated_at) %> )
|
<%= link(u.user.name, to: ~p"/profiles/#{u.user}") %> (<%= u.uses %> uses, last used <%= pretty_time(u.updated_at) %>)
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<%= for u <- @other_users[uip.ip] do %>
|
<%= for u <- @other_users[uip.ip] do %>
|
||||||
<li>
|
<li>
|
||||||
<%= link(u.user.name, to: ~p"/profiles/#{u.user}") %> ( <%= u.uses %> uses, last used <%= pretty_time(u.updated_at) %> )
|
<%= link(u.user.name, to: ~p"/profiles/#{u.user}") %> (<%= u.uses %> uses, last used <%= pretty_time(u.updated_at) %>)
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<div class="profile-top__name-and-links">
|
<div class="profile-top__name-and-links">
|
||||||
<div>
|
<div>
|
||||||
<h1 class="profile-top__name-header">
|
<h1 class="profile-top__name-header">
|
||||||
<%= @user.name %> 's profile
|
<%= @user.name %>'s profile
|
||||||
</h1>
|
</h1>
|
||||||
<%= render(PhilomenaWeb.UserAttributionView, "_user_title.html", object: %{user: @user}, large: true) %>
|
<%= render(PhilomenaWeb.UserAttributionView, "_user_title.html", object: %{user: @user}, large: true) %>
|
||||||
<br />
|
<br />
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
</h3>
|
</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
Make sure to report for the correct <%= link("rule", to: "/pages/rules") %> .
|
Make sure to report for the correct <%= link("rule", to: "/pages/rules") %>.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
One report per problem. If it involves multiple things (images, comments, etc), list all of their IDs in the description of a single report.
|
One report per problem. If it involves multiple things (images, comments, etc), list all of their IDs in the description of a single report.
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
a verified artist link.
|
a verified artist link.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
For more information, please read the <%= link("takedown policy", to: "/pages/takedowns") %> .
|
For more information, please read the <%= link("takedown policy", to: "/pages/takedowns") %>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
|
|
@ -111,53 +111,26 @@
|
||||||
<div class="block__content">
|
<div class="block__content">
|
||||||
<div class="hidden walloftext" data-search-help="boolean">
|
<div class="hidden walloftext" data-search-help="boolean">
|
||||||
<strong class="js-search-help-subject"></strong>
|
<strong class="js-search-help-subject"></strong>
|
||||||
is a Boolean-valued field. It only accepts the values
|
is a Boolean-valued field. It only accepts the values <code>true</code>
|
||||||
<code>
|
and <code>false</code>. <br />
|
||||||
true
|
|
||||||
</code>
|
|
||||||
and
|
|
||||||
<code>
|
|
||||||
false
|
|
||||||
</code>
|
|
||||||
. <br />
|
|
||||||
<br />
|
<br />
|
||||||
<em>
|
<em>
|
||||||
Example:
|
Example:
|
||||||
</em>
|
</em>
|
||||||
to find images which are not animated, you would use
|
to find images which are not animated, you would use <code>animated:false</code>.
|
||||||
<code>
|
|
||||||
animated:false
|
|
||||||
</code>
|
|
||||||
.
|
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden walloftext" data-search-help="numeric">
|
<div class="hidden walloftext" data-search-help="numeric">
|
||||||
<strong class="js-search-help-subject"></strong>
|
<strong class="js-search-help-subject"></strong>
|
||||||
is a numerical range field. Four qualifiers,
|
is a numerical range field. Four qualifiers, <code>gte</code>
|
||||||
<code>
|
(greater than or equal), <code>lte</code>
|
||||||
gte
|
(less than or equal), <code>gt</code>
|
||||||
</code>
|
(greater than), and <code>lt</code>
|
||||||
(greater than or equal),
|
|
||||||
<code>
|
|
||||||
lte
|
|
||||||
</code>
|
|
||||||
(less than or equal),
|
|
||||||
<code>
|
|
||||||
gt
|
|
||||||
</code>
|
|
||||||
(greater than), and
|
|
||||||
<code>
|
|
||||||
lt
|
|
||||||
</code>
|
|
||||||
(less than), can be applied to the desired value. <br />
|
(less than), can be applied to the desired value. <br />
|
||||||
<br />
|
<br />
|
||||||
<em>
|
<em>
|
||||||
Example:
|
Example:
|
||||||
</em>
|
</em>
|
||||||
to find images with a score greater than 100, you would use
|
to find images with a score greater than 100, you would use <code>score.gt:100</code>.
|
||||||
<code>
|
|
||||||
score.gt:100
|
|
||||||
</code>
|
|
||||||
.
|
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden walloftext" data-search-help="date">
|
<div class="hidden walloftext" data-search-help="date">
|
||||||
<strong class="js-search-help-subject"></strong>
|
<strong class="js-search-help-subject"></strong>
|
||||||
|
@ -165,53 +138,26 @@
|
||||||
<a href="/pages/search_syntax#date-range">
|
<a href="/pages/search_syntax#date-range">
|
||||||
tweaked subset of the ISO 8601 standard
|
tweaked subset of the ISO 8601 standard
|
||||||
</a>
|
</a>
|
||||||
, as well as relative dates
|
, as well as relative dates <code>(X minutes/hours/days/months/years ago)</code>. Four qualifiers, <code>gte</code>
|
||||||
<code>
|
(greater than or equal), <code>lte</code>
|
||||||
(X minutes/hours/days/months/years ago)
|
(less than or equal), <code>gt</code>
|
||||||
</code>
|
(greater than), and <code>lt</code>
|
||||||
. Four qualifiers,
|
|
||||||
<code>
|
|
||||||
gte
|
|
||||||
</code>
|
|
||||||
(greater than or equal),
|
|
||||||
<code>
|
|
||||||
lte
|
|
||||||
</code>
|
|
||||||
(less than or equal),
|
|
||||||
<code>
|
|
||||||
gt
|
|
||||||
</code>
|
|
||||||
(greater than), and
|
|
||||||
<code>
|
|
||||||
lt
|
|
||||||
</code>
|
|
||||||
(less than), can be applied to the desired value. <br />
|
(less than), can be applied to the desired value. <br />
|
||||||
<br />
|
<br />
|
||||||
<em>
|
<em>
|
||||||
Example:
|
Example:
|
||||||
</em>
|
</em>
|
||||||
to find images created before 2013, you would use
|
to find images created before 2013, you would use <code>created_at.lt:2013</code>.
|
||||||
<code>
|
|
||||||
created_at.lt:2013
|
|
||||||
</code>
|
|
||||||
.
|
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden walloftext" data-search-help="literal">
|
<div class="hidden walloftext" data-search-help="literal">
|
||||||
<strong class="js-search-help-subject"></strong>
|
<strong class="js-search-help-subject"></strong>
|
||||||
is a literal field. You can apply apply a wildcard
|
is a literal field. You can apply apply a wildcard <code>*</code>
|
||||||
<code>
|
|
||||||
*
|
|
||||||
</code>
|
|
||||||
as a substitute for zero or more characters. <br />
|
as a substitute for zero or more characters. <br />
|
||||||
<br />
|
<br />
|
||||||
<em>
|
<em>
|
||||||
Example:
|
Example:
|
||||||
</em>
|
</em>
|
||||||
to find images from DeviantArt, you would use
|
to find images from DeviantArt, you would use <code>source_url:*deviantart.com*</code>.
|
||||||
<code>
|
|
||||||
source_url:*deviantart.com*
|
|
||||||
</code>
|
|
||||||
.
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<h3>
|
<h3>
|
||||||
<%= match.image_width %> x <%= match.image_height %> - <%= round(match.image_size / 1024) %> KiB
|
<%= match.image_width %>x<%= match.image_height %> - <%= round(match.image_size / 1024) %> KiB
|
||||||
</h3>
|
</h3>
|
||||||
<%= render(PhilomenaWeb.TagView, "_tag_list.html", tags: Tag.display_order(match.tags), conn: @conn) %>
|
<%= render(PhilomenaWeb.TagView, "_tag_list.html", tags: Tag.display_order(match.tags), conn: @conn) %>
|
||||||
</th>
|
</th>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div>
|
<div>
|
||||||
<%= for map <- slice do %>
|
<%= for map <- slice do %>
|
||||||
<% [header, tag_name] = Enum.to_list(map) %>
|
<% [header, tag_name] = Enum.to_list(map) %>
|
||||||
<%= header %> . <%= tag_link(@tags[tag_name], tag_name) %>
|
<%= header %>. <%= tag_link(@tags[tag_name], tag_name) %>
|
||||||
<br />
|
<br />
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -92,7 +92,7 @@
|
||||||
<%= for channel <- @tag.channels do %>
|
<%= for channel <- @tag.channels do %>
|
||||||
<%= link(channel.title, to: ~p"/channels/#{channel}") %>
|
<%= link(channel.title, to: ~p"/channels/#{channel}") %>
|
||||||
<%= if can?(@conn, :edit, channel) do %>
|
<%= if can?(@conn, :edit, channel) do %>
|
||||||
( <%= link("Edit", to: ~p"/channels/#{channel}/edit") %> )
|
(<%= link("Edit", to: ~p"/channels/#{channel}/edit") %>)
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<br />
|
<br />
|
||||||
|
@ -130,7 +130,7 @@
|
||||||
<strong>
|
<strong>
|
||||||
<%= entry.dnp_type %>
|
<%= entry.dnp_type %>
|
||||||
</strong>
|
</strong>
|
||||||
<%= body %> ( <%= link("more info", to: ~p"/dnp/#{entry}") %> )
|
<%= body %> (<%= link("more info", to: ~p"/dnp/#{entry}") %>)
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
</h3>
|
</h3>
|
||||||
<%= render(PhilomenaWeb.Tag.DetailView, "_filters.html", filters: @filters_hiding, conn: @conn) %>
|
<%= render(PhilomenaWeb.Tag.DetailView, "_filters.html", filters: @filters_hiding, conn: @conn) %>
|
||||||
<h3>
|
<h3>
|
||||||
Users that watch this tag ( <%= length(@users_watching) %> )
|
Users that watch this tag (<%= length(@users_watching) %>)
|
||||||
</h3>
|
</h3>
|
||||||
<%= for u <- @users_watching do %>
|
<%= for u <- @users_watching do %>
|
||||||
<%= link(u.name, to: ~p"/profiles/#{u}", class: "interaction-user-list-item") %>
|
<%= link(u.name, to: ~p"/profiles/#{u}", class: "interaction-user-list-item") %>
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<p>
|
<p>
|
||||||
<%= if active?(@poll) do %>
|
<%= if active?(@poll) do %>
|
||||||
Poll ends <%= pretty_time(@poll.active_until) %> .
|
Poll ends <%= pretty_time(@poll.active_until) %>.
|
||||||
<%= if @poll.total_votes > 0 do %>
|
<%= if @poll.total_votes > 0 do %>
|
||||||
<%= @poll.total_votes %>
|
<%= @poll.total_votes %>
|
||||||
<%= pluralize("vote", "votes", @poll.total_votes) %>
|
<%= pluralize("vote", "votes", @poll.total_votes) %>
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
cast so far.
|
cast so far.
|
||||||
<% else %>
|
<% else %>
|
||||||
Poll ended <%= pretty_time(@poll.active_until) %> with <%= @poll.total_votes %>
|
Poll ended <%= pretty_time(@poll.active_until) %> with <%= @poll.total_votes %>
|
||||||
<%= pluralize("vote", "votes", @poll.total_votes) %> .
|
<%= pluralize("vote", "votes", @poll.total_votes) %>.
|
||||||
<% end %>
|
<% end %>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue