bug in manifestation index view

bug in manifestation index view

Listing manifestations

      Ud
      Persona: Id
      Persona: Name
      User: Id
      User: Name
      Actions

<%= link "New manifestation", to: manifestation_path(@conn, :new) %>

Listing manifestations

      Ud
      User: Id
      User: Name
      Persona: Id
      Persona: Name
      Actions

<%= link "New manifestation", to: manifestation_path(@conn, :new) %>


Bugfix

Bugfix

<%= "<%= gettext \"" %>Listing <%= template_plural %><%= "\" %\>" %>

    <%= for {k, _} <- attrs do %>      <%= "<%= gettext \"" %><%= Phoenix.Naming.humanize(Atom.to_string(k)) %><%= "\" %\>" %>
    <% end %>

    <%= "<%=" %> for {<%= singular %>, index} <- Enum.with_index(@<%= plural %>) do <%= "%\>" %>
        <tr class="<%= "<%=" %> if rem(index, 2) == 1, do: "pure-table-odd" <%= "%\>" %>">
    <%= for {k, _} <- attrs do %>      <%= "<%=" %> <%= singular %>.<%= k %> <%= "%\>" %>
    <% end %>

            <%= "<%=" %> link gettext("Show"), to: <%= singular %>_path(@conn, :show, <%= singular %>), class: "pure-button" <%= "%\>" %>
            <%= "<%=" %> link gettext("Edit"), to: <%= singular %>_path(@conn, :edit, <%= singular %>), class: "pure-button" <%= "%\>" %>
            <%= "<%=" %> link gettext("Delete"), to: <%= singular %>_path(@conn, :delete, <%= singular %>), method: :delete, data: [confirm: gettext("Are you sure?")], class: "pure-button" <%= "%\>" %>

    <%% end %>

    <%= "<%=" %> link gettext("New <%= template_singular %>"), to: <%= singular %>_path(@conn, :new), class: "pure-button" %>

<%= "<%= gettext \"" %>Listing <%= template_plural %><%= "\" %\>" %>

    <%= for {k, _} <- attrs do %>      <%= "<%= gettext \"" %><%= Phoenix.Naming.humanize(Atom.to_string(k)) %><%= "\" %\>" %>
    <% end %>

    <%= "<%=" %> for {<%= singular %>, index} <- Enum.with_index(@<%= plural %>) do <%= "%\>" %>
        <tr class="<%= if rem(index, 2) == 1, do: "pure-table-odd" %>">
    <%= for {k, _} <- attrs do %>      <%= "<%=" %> <%= singular %>.<%= k %> <%= "%\>" %>
    <% end %>

            <%= "<%=" %> link gettext("Show"), to: <%= singular %>_path(@conn, :show, <%= singular %>), class: "pure-button" <%= "%\>" %>
            <%= "<%=" %> link gettext("Edit"), to: <%= singular %>_path(@conn, :edit, <%= singular %>), class: "pure-button" <%= "%\>" %>
            <%= "<%=" %> link gettext("Delete"), to: <%= singular %>_path(@conn, :delete, <%= singular %>), method: :delete, data: [confirm: gettext("Are you sure?")], class: "pure-button" <%= "%\>" %>

    <%% end %>

    <%= "<%=" %> link gettext("New <%= template_singular %>"), to: <%= singular %>_path(@conn, :new), class: "pure-button" %>


Add account name to recent transactions overview list

ExMoney

                +

Accounts

                <%= for account <- @accounts do %>

<%= account.name %>

                        <a href='/m/accounts/<%= account.id %>'>
                          <%= account.balance %> <%= account.currency_label %>

                <% end %>

Recent transactions

                <%= for {date, transactions} <- @recent_transactions do %>

<%= date %>

                        <%= balance(transactions) %> <%= List.first(transactions).account.currency_label %>

                  <%= for transaction <- transactions do %>

<%= description(transaction) %>

                          <%= transaction.account.name %>

                              <%= transaction.category.humanized_name %>

                              <%= transaction.amount %> <%= transaction.account.currency_label %>

                  <% end %>
                <% end %>

ExMoney

                +

Accounts

                <%= for account <- @accounts do %>

<%= account.name %>

                        <a href='/m/accounts/<%= account.id %>'>
                          <%= account.balance %> <%= account.currency_label %>

                <% end %>

Recent transactions

                <%= for {date, transactions} <- @recent_transactions do %>

<%= date %>

                        <%= balance(transactions) %> <%= List.first(transactions).account.currency_label %>

                  <%= for transaction <- transactions do %>

<%= description(transaction) %>

                              <%= transaction.category.humanized_name %>

                              <%= transaction.amount %> <%= transaction.account.currency_label %>

                  <% end %>
                <% end %>


no moderation feature

no moderation feature

A liquid democracy where anyone can vote on anything.

	Explore polls

Key features

				Delegations

				Not everyone is an expert at everything. That's why you can delegate your vote to people you trust.

				References

				References aim to help voters make more informed decisions. They also allow people not familiar with the subject to quickly learn about it.

				Trust metrics

				Trust metrics attempt to prevent a single person from having multiple identities. Everyone can choose their own trust metric or create a new one.

				Objectivity

				Liquio encourages polls that aren't purely subjective.

				No moderation

				Lorem ipsum

				Transparency

				The source code is available under permissive MIT license. All the data is publicly available through the API.

Examples

				<%= for poll <- @examples do %>

						<a href="/polls/<%= poll.id %>">

<%= poll.title %>

							<div class="score" style="background-color: <%= Liquio.HtmlPollView.score_color poll %>;">
								<%= if poll.results.mean do %>
									<%= if poll.choice_type == "probability" do %>
										<%= round(poll.results.mean * 100) %>%
									<% else %>
										<%= number_format(poll.results.mean) %>
									<% end %>
								<% else %>
									?
								<% end %>

				<% end %>

	Liquio is still in early development. You can view the source code on GitHub. Feedback and contributions are welcome.

A liquid democracy where anyone can vote on anything.

	Explore polls

Key features

				Delegations

				Not everyone is an expert at everything. That's why you can delegate your vote to people you trust.

				References

				References aim to help voters make more informed decisions. They also allow people not familiar with the subject to quickly learn about it.

				Trust metrics

				Trust metrics attempt to prevent a single person from having multiple identities. Everyone can choose their own trust metric or create a new one.

				Objectivity

				Liquio encourages polls that aren't purely subjective.

				Transparency

				The source code is available under permissive MIT license. All the data is publicly available through the API.

				Lorem ipsum

				The source code is available under permissive MIT license. All the data is publicly available through the API.

Examples

				<%= for poll <- @examples do %>

						<a href="/polls/<%= poll.id %>">

<%= poll.title %>

							<div class="score" style="background-color: <%= Liquio.HtmlPollView.score_color poll %>;">
								<%= if poll.results.mean do %>
									<%= if poll.choice_type == "probability" do %>
										<%= round(poll.results.mean * 100) %>%
									<% else %>
										<%= number_format(poll.results.mean) %>
									<% end %>
								<% else %>
									?
								<% end %>

				<% end %>

	Liquio is still in early development. You can view the source code on GitHub. Feedback and contributions are welcome.


Fix issue with spaces in paths when pulling release info from start_erl.data

#!/bin/sh
set -e

SCRIPT_DIR="$(cd $(dirname "$0") && pwd -P)"
RELEASE_ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
RELEASES_DIR="$RELEASE_ROOT_DIR/releases"
REL_NAME="<%= rel_name %>"
REL_VSN=$(cat "$RELEASES_DIR"/start_erl.data | cut -d' ' -f2)
ERTS_VSN=$(cat "$RELEASES_DIR"/start_erl.data | cut -d' ' -f1)

_cleanup() {
    echo "Shutting down node cleanly.."
    exec "$RELEASES_DIR/$REL_VSN/$REL_NAME.sh" rpc init stop
}

case "$1" in
    foreground)
        trap '_cleanup' HUP INT TERM QUIT

        "$RELEASES_DIR/$REL_VSN/$REL_NAME.sh" $@ &
        __pid=$!

        wait $__pid
        __exit_status=$?

        exit $__exit_status
        ;;
    *)
        exec "$RELEASES_DIR/$REL_VSN/$REL_NAME.sh" "$@"
        ;;
esac

#!/bin/sh
set -e

SCRIPT_DIR="$(cd $(dirname "$0") && pwd -P)"
RELEASE_ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
RELEASES_DIR="$RELEASE_ROOT_DIR/releases"
REL_NAME="<%= rel_name %>"
REL_VSN=$(cat $RELEASES_DIR/start_erl.data | cut -d' ' -f2)
ERTS_VSN=$(cat $RELEASES_DIR/start_erl.data | cut -d' ' -f1)

_cleanup() {
    echo "Shutting down node cleanly.."
    exec "$RELEASES_DIR/$REL_VSN/$REL_NAME.sh" rpc init stop
}

case "$1" in
    foreground)
        trap '_cleanup' HUP INT TERM QUIT

        "$RELEASES_DIR/$REL_VSN/$REL_NAME.sh" $@ &
        __pid=$!

        wait $__pid
        __exit_status=$?

        exit $__exit_status
        ;;
    *)
        exec "$RELEASES_DIR/$REL_VSN/$REL_NAME.sh" "$@"
        ;;
esac


languages could be missing

languages could be missing

  <%= fa_icon("headphones") %> Episode
  <%= link @episode.title, to: @episode.url,
                           style: "color:#1a0dab" %>
  <%= if @languages, do: for language <- @languages, do: language.emoji %>

  <%= link "https://panoptikum.io" <> @episode.url, to: @episode.url,
                                                    style: "color:#006621" %>

  <%= episode_hit(@episode, @searchstring) %>

<%= for {gig, index} <- Enum.with_index(@gigs) do %>
  <%= if index > 0, do: "·" %>

  <%= link [fa_icon("user-o"), " ", gig.persona.name],
           to: persona_frontend_path(Pan.Endpoint, :show, gig.persona),
           class: "btn btn-xs truncate btn-lavender" %>
  <%= gig.role %>
<% end %>

<%= link [fa_icon("podcast"), " ", truncate(@podcast_title, 50)],
                 to: @podcast_url,
                 class: "btn btn-default btn-xs",
                 style: "color: #000" %>

<%= @score %>

  <%= fa_icon("headphones") %> Episode
  <%= link @episode.title, to: @episode.url,
                           style: "color:#1a0dab" %>
  <%= for language <- @languages, do: language.emoji %>

  <%= link "https://panoptikum.io" <> @episode.url, to: @episode.url,
                                                    style: "color:#006621" %>

  <%= episode_hit(@episode, @searchstring) %>

<%= for {gig, index} <- Enum.with_index(@gigs) do %>
  <%= if index > 0, do: "·" %>

  <%= link [fa_icon("user-o"), " ", gig.persona.name],
           to: persona_frontend_path(Pan.Endpoint, :show, gig.persona),
           class: "btn btn-xs truncate btn-lavender" %>
  <%= gig.role %>
<% end %>

<%= link [fa_icon("podcast"), " ", truncate(@podcast_title, 50)],
                 to: @podcast_url,
                 class: "btn btn-default btn-xs",
                 style: "color: #000" %>

<%= @score %>


fixed active page bug

fixed active page bug

  <%= for post <- @posts do %>

  <% img_src = hd(post.json_metadata["image"] || [false] ) %>

      <a href="/authors/<%= post.author %>/<%= post.permlink %>">

        <%= if img_src do %>
          <img src="<%= img_src %>">
        <% end %>

        <a class="ui large blue ribbon label" href="/authors/<%= post.author %>">  @<%= post.author  %>

        <a class="header" href="/authors/<%= post.author %>/<%= post.permlink %>"> <%= post.title %>

          <%= for tag <- post.tags do %>
          <a class="ui  label" href="/tags/<%=tag%>">
            <%= format_tag(tag, @conn.assigns.lang) %>

          <% end %>

    <% end %>

      <%= for {v, i} <- generate_pagination_list(@current_page) do %>

      <a class="<%=if v == @current_page, do: "active" %> item"
        href="<%= @conn.request_path <> "?" <> URI.encode_query(%{"page"=> v}) %>">
        <%= v %>

      <% end %>

  <%= for post <- @posts do %>

  <% img_src = hd(post.json_metadata["image"] || [false] ) %>

      <a href="/authors/<%= post.author %>/<%= post.permlink %>">

        <%= if img_src do %>
          <img src="<%= img_src %>">
        <% end %>

        <a class="ui large blue ribbon label" href="/authors/<%= post.author %>">  @<%= post.author  %>

        <a class="header" href="/authors/<%= post.author %>/<%= post.permlink %>"> <%= post.title %>

          <%= for tag <- post.tags do %>
          <a class="ui  label" href="/tags/<%=tag%>">
            <%= format_tag(tag, @conn.assigns.lang) %>

          <% end %>

    <% end %>

      <%= for {v, i} <- generate_pagination_list(@current_page) do %>

      <a class="<%=if i == @current_page, do: "active" %> item"
        href="<%= @conn.request_path <> "?" <> URI.encode_query(%{"page"=> v}) %>">
        <%= v %>

      <% end %>


quick change

quick change

don't think it looks good

  <%= for post <- @posts do %>

  <% img_src = hd(post.json_metadata["image"] || post.json_metadata["images"] || [false] ) %>

      <a href="/authors/<%= post.author %>/<%= post.permlink %>">

        <%= if img_src do %>
          <img src="<%= img_src %>">
        <% end %>

        <a class="header" href="/authors/<%= post.author %>/<%= post.permlink %>"> <%= post.title %>

        <a class="ui large blue ribbon label" href="/authors/<%= post.author %>">  @<%= post.author  %>

          <%= for tag <- post.tags do %>
          <a class="ui  label" href="/tags/<%=tag%>">
            <%= format_tag(tag, @conn.assigns.lang) %>

          <% end %>

    <% end %>

      <%= for {v, i} <- generate_pagination_list(@current_page) do %>

      <a class="<%=if v == @current_page, do: "active" %> item"
        href="<%= @conn.request_path <> "?" <> URI.encode_query(%{"page"=> v}) %>">
        <%= v %>

      <% end %>

      <%= for post <- @posts do %>
          <%= for tag <- post.tags do %>
          <a class="ui  label" href="/tags/<%=tag%>">
            <%= format_tag(tag, @conn.assigns.lang) %>

          <% end %>
      <% end %>


add link to author routes in posts template

  <%= for post <- @posts do %>
  <% img_src = hd(post.json_metadata["image"]) %>

      <a href="/posts/<%= post.permlink %>"> <img src="<%= img_src %>">
        <a class="ui large blue ribbon label" href="/authors/<%= post.author %>">  @<%= post.author  %>

        <a class="header" href="/posts/<%= post.permlink %>"> <%= post.title %>

          <%= for tag <- post.tags do %>
          <a class="ui  label" href="/tags/<%=tag%>">
            <%= format_tag(tag, @conn.assigns.lang) %>

          <% end %>

    <% end %>

      <%= for {v, i} <- generate_pagination_list(@current_page) do %>

      <a class="<%=if i == @current_page, do: "active" %> item"
        href="<%= @conn.request_path <> "?" <> URI.encode_query(%{"page"=> v}) %>">
        <%= v %>

      <% end %>

  <%= for post <- @posts do %>
  <% img_src = hd(post.json_metadata["image"]) %>

      <a href="/posts/<%= post.permlink %>"> <img src="<%= img_src %>">

        @<%= post.author  %>

        <a class="header" href="/posts/<%= post.permlink %>"> <%= post.title %>

          <%= for tag <- post.tags do %>
          <a class="ui  label" href="/tags/<%=tag%>">
            <%= format_tag(tag, @conn.assigns.lang) %>

          <% end %>

    <% end %>

      <%= for {v, i} <- generate_pagination_list(@current_page) do %>

      <a class="<%=if i == @current_page, do: "active" %> item"
        href="<%= @conn.request_path <> "?" <> URI.encode_query(%{"page"=> v}) %>">
        <%= v %>

      <% end %>


Add header for RSS autodiscovery

Add header for RSS autodiscovery

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <meta name="apple-mobile-web-app-title" content="ElixirJobs">
    <meta name="application-name" content="ElixirJobs">
    <meta name="theme-color" content="#8652ad">
    <title>ElixirJobs</title>
    <link rel="apple-touch-icon" sizes="180x180" href="<%= static_path(@conn, "/icons/apple-touch-icon.png") %>">
    <link rel="icon" type="image/png" sizes="32x32" href="<%= static_path(@conn, "/icons/favicon-32x32.png") %>">
    <link rel="icon" type="image/png" sizes="16x16" href="<%= static_path(@conn, "/icons/favicon-16x16.png") %>">
    <link rel="manifest" href="/manifest.json">
    <link rel="alternate" type="application/rss+xml" title="ElixirJobs - RSS" href="<%= offer_path(@conn, :rss) %>" />
    <link rel="mask-icon" href="<%= static_path(@conn, "/icons/safari-pinned-tab.svg") %>" color="#8652ad">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

    <%= render_shared "_sidebar.html", conn: @conn %>

        <%= render @view_module, @view_template, assigns %>

    <%= render_shared "_footer.html", conn: @conn %>

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <meta name="apple-mobile-web-app-title" content="ElixirJobs">
    <meta name="application-name" content="ElixirJobs">
    <meta name="theme-color" content="#8652ad">
    <title>ElixirJobs</title>
    <link rel="apple-touch-icon" sizes="180x180" href="<%= static_path(@conn, "/icons/apple-touch-icon.png") %>">
    <link rel="icon" type="image/png" sizes="32x32" href="<%= static_path(@conn, "/icons/favicon-32x32.png") %>">
    <link rel="icon" type="image/png" sizes="16x16" href="<%= static_path(@conn, "/icons/favicon-16x16.png") %>">
    <link rel="manifest" href="/manifest.json">
    <link rel="mask-icon" href="<%= static_path(@conn, "/icons/safari-pinned-tab.svg") %>" color="#8652ad">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

    <%= render_shared "_sidebar.html", conn: @conn %>

        <%= render @view_module, @view_template, assigns %>

    <%= render_shared "_footer.html", conn: @conn %>


Scope html comment regarding build optimizations to test env

  - this was appearing in prod

<!DOCTYPE html>

    <%= if Application.get_env(:remote_retro, :env) == :prod do %>

    <% else %>

    <% end %>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="A real-time application for conducting Agile retrospectives">
    <meta name="google-site-verification" content="T5W8sjrjt-BmTK5SYTjPM-FQZD8oGNatTNAJSyRex7o" />
    <meta name="author" content="">
    <title>RemoteRetro | Free. World-class. Retrospectives.</title>

    <link rel="preload" href="<%= Routes.static_path(@conn, "/css/semantic-ui/font/lato-v14-latin-regular.woff2") %>" as="font" crossorigin="anonymous" />
    <link rel="preload" href="<%= Routes.static_path(@conn, "/css/semantic-ui/themes/default/assets/fonts/icons.woff2") %>" as="font" crossorigin="anonymous" />
    <link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/semantic-ui/semantic.min.css") %>">
    <link rel="stylesheet" href="<%= app_css(@conn) %>">
    <link rel="apple-touch-icon" href="<%= Routes.static_path(@conn, "/images/apple-touch-icon.png") %>">

    <%= if Application.get_env(:remote_retro, :env) == :test do %>

    <% end %>

  <body class="<%= if assigns[:is_landing_page], do: "landing-page" %>">

    <%= unless assigns[:omit_header] do %>

RemoteRetro

Built by

<img src="<%= Routes.static_path(@conn, "/images/stride_logo.png") %>" alt="Stride" />

          <%= if @current_user do %>

              Log Out

          <% end %>

    <% end %>
      <%= render @view_module, @view_template, assigns %>

    <%= if assigns[:include_js] do %>

    <% end %>


Display block in portrait

Display block in portrait

<!DOCTYPE html>

<meta charset="utf-8">

<meta name="viewport" content="width=device-width,initial-scale=1.0">

<title>Android SDK API level - <%= @lib %></title>

Android SDK API level of @aar artifacts

<form method="get" style="display:flex">
<input type="search" name="library" placeholder="groupId:artifactId:version" value="<%= @lib %>">
<input type="submit" value="Search">

</form>

<%= @host %><%= @path %>/api.svg

<a id="badge" href="<%= @path %>">
<img alt="API level <%= @api %>" src="<%= @path %>/api.svg">

Android version history

Android O
[2017]

Android 7.1.1 Nougat
[2016]

Android 7.0 Nougat
[2016]

Android 6.0 Marshmallow
[2015]

Android 5.1 Lollipops
[2015]

Android 5.0 Lollipop
[2014]

Android 4.4 KitKat Wear
[2014]

Android 4.4 KitKat
[2013]

Android 4.3 Jelly Bean
[2013]

Android 4.2 Jelly Bean
[2012]

Android 4.1 Jelly Bean
[2012]

Android 4.0.3 Ice Cream Sandwich
[2011]

Android 4.0 Ice Cream Sandwich
[2011]

Android 3.2 Honeycomb
[2011]

Android 3.1 Honeycomb
[2011]

Android 3.0 Honeycomb
[2011]

Android 2.3.3 Gingerbread
[2011]

Android 2.3 Gingerbread
[2010]

Android 2.2 Froyo
[2010]

Android 2.1 Eclair
[2010]

Android 2.0.1 Eclair
[2009]

Android 2.0 Eclair
[2009]

Android 1.6 Donut
[2009]

Android 1.5 Cupcake
[2009]

Android 1.1
[2009]

Android 1.0
[2008]

Repositories

Maven Central

JCenter

JitPack

References

shields.io

Android

Versions

Markdown

Contribute

<svg width="1.1em" height="1.1em" viewbox="0 0 32 32" style="vertical-align:top">

<g>
<path d="M 15.998527,0.39484182 C 7.1633875,0.39484182 0,7.5582293
 0,16.395333 c 0,7.069093 4.5840572,13.065594 10.942018,15.182295
 0.800516,0.146352 1.092237,-0.347709 1.092237,-0.772031 0,-0.37914
 -0.01375,-1.385924 -0.02161,-2.720771 C 7.562172,29.051338 6.6231622,25.93964
 6.6231622,25.93964 5.8953313,24.09207 4.846312,23.599974 4.846312,23.599974
 3.3935971,22.606941 4.9563216,22.626586 4.9563216,22.626586
 c 1.6059424,0.113938 2.4506584,1.64916 2.4506584,1.64916 1.427177,2.444765
 3.745235,1.738544 4.656742,1.329937 0.14537,-1.034286 0.557905,-1.739526
 1.015624,-2.139292 -3.552718,-0.403696 -7.2881308,-1.77685 -7.2881308,-7.907916
 0,-1.746401 0.6237147,-3.17456 1.647196,-4.293318 C 7.273397,10.860479
 6.7243316,9.2339099 7.5945855,7.0307729 c 0,0 1.3436876,-0.4302157
 4.4003805,1.6403205 1.275914,-0.3545842 2.64514,-0.5323675 4.005525,-0.5382608
 1.358421,0.00589 2.727647,0.1836766 4.005525,0.5382608 3.054729,-2.0705362
 4.39547,-1.6403205 4.39547,-1.6403205 0.8732,2.203137 0.324135,3.8297061
 0.159121,4.2343841 1.025445,1.118758 1.645231,2.546917 1.645231,4.293318
 0,6.146781 -3.741306,7.499309 -7.30581,7.895147 0.574603,0.49406
 1.086344,1.470395 1.086344,2.963381 0,2.13831 -0.01965,3.864084
 -0.01965,4.388594 0,0.428251 0.287793,0.926241 1.100095,0.770067
 C 27.419872,29.455034 32,23.462462 32,16.395333 32,7.5582293 24.83563,0.39484182
 15.998527,0.39484182" style="fill:#1b1817;fill-opacity:1;fill-rule:evenodd;stroke:none" />
</g>
</svg>
asapi/lv

© 2017   tynn   ♥ Berlin


show open invitations only for trainers and owner

<%= if has_permission?(current_memberships(@conn), [1, 2]) do %>
  <%= render Classlab.Classroom.InvitationView, "new.html", event: @event, roles: @roles, changeset: @invitation_changeset, conn: @conn %>
<% end %>

        Attendee (<%= length(@memberships) %>)

      <%= if has_permission?(@current_memberships, [1, 2]) do %>

          Open invitations (<%= length(@open_invitations) %>)

      <% end %>

      <%= if length(@memberships) == 0 do %>

No attendees available

          <%= if @event.public do %>

Share your event with others.

            <%= link "Invite people", to: classroom_invitation_path(@conn, :new, @event), class: "btn btn-outline-primary" %>
          <% else %>

Make your event public to reach other poeple.

            <%= link "Make it public", to: classroom_event_path(@conn, :edit, @event), class: "btn btn-outline-primary" %>
          <% end %>

      <% else %>

              User
              Role

            <%= for membership <- @memberships do %>

                <%= membership.user.email %>

                  <%= membership.role.name %>

                  <%= if has_permission?(current_memberships(@conn), [1, 2]) ||membership.user_id == current_user(@conn).id do %>
                    <%= link "Delete", to: classroom_membership_path(@conn, :delete, membership.event, membership), method: :delete, data: [toggle: "modal", target: "baseModal"], class: "btn btn-danger btn-sm" %>
                  <% end %>

            <% end %>

      <% end %>

    <%= if has_permission?(@current_memberships, [1, 2]) do %>

        <%= if length(@open_invitations) == 0 do %>

No open invitations available

Invite others to share your knowledge.

            <%= link "Invite people", to: classroom_invitation_path(@conn, :new, @event), class: "btn btn-outline-primary" %>

        <% else %>

                Email
                Name
                Role

              <%= for invitation <- @open_invitations do %>

                  <%= invitation.email %>
                  <%= invitation.first_name %> <%= invitation.last_name %>
                  <%= invitation.role.name %>

                    <%= if has_permission?(current_memberships(@conn), [1, 2]) do %>
                      <%= link "Cancel invitation", to: classroom_invitation_path(@conn, :delete, @event, invitation), method: :delete, data: [toggle: "modal", target: "baseModal"], class: "btn btn-outline-danger btn-sm" %>
                    <% end %>

              <% end %>

        <% end %>

    <% end %>

<%= if has_permission?(current_memberships(@conn), [1, 2]) do %>
  <%= render Classlab.Classroom.InvitationView, "new.html", event: @event, roles: @roles, changeset: @invitation_changeset, conn: @conn %>
<% end %>

        Attendee (<%= length(@memberships) %>)

        Open invitations (<%= length(@open_invitations) %>)

      <%= if length(@memberships) == 0 do %>

No attendees available

          <%= if @event.public do %>

Share your event with others.

            <%= link "Invite people", to: classroom_invitation_path(@conn, :new, @event), class: "btn btn-outline-primary" %>
          <% else %>

Make your event public to reach other poeple.

            <%= link "Make it public", to: classroom_event_path(@conn, :edit, @event), class: "btn btn-outline-primary" %>
          <% end %>

      <% else %>

              User
              Role

            <%= for membership <- @memberships do %>

                <%= membership.user.email %>

                  <%= membership.role.name %>

                  <%= if has_permission?(current_memberships(@conn), [1, 2]) ||membership.user_id == current_user(@conn).id do %>
                    <%= link "Delete", to: classroom_membership_path(@conn, :delete, membership.event, membership), method: :delete, data: [toggle: "modal", target: "baseModal"], class: "btn btn-danger btn-sm" %>
                  <% end %>

            <% end %>

      <% end %>

      <%= if length(@open_invitations) == 0 do %>

No open invitations available

Invite others to share your knowledge.

          <%= link "Invite people", to: classroom_invitation_path(@conn, :new, @event), class: "btn btn-outline-primary" %>

      <% else %>

              Email
              Name
              Role

            <%= for invitation <- @open_invitations do %>

                <%= invitation.email %>
                <%= invitation.first_name %> <%= invitation.last_name %>
                <%= invitation.role.name %>

                  <%= if has_permission?(current_memberships(@conn), [1, 2]) do %>
                    <%= link "Cancel invitation", to: classroom_invitation_path(@conn, :delete, @event, invitation), method: :delete, data: [toggle: "modal", target: "baseModal"], class: "btn btn-outline-danger btn-sm" %>
                  <% end %>

            <% end %>

      <% end %>


Displaying of flash messages

Displaying of flash messages

<%= if message = get_flash(@conn, :info) do %>

<%= message %>

<% end %>

<%= if message = get_flash(@conn, :error) do %>

<%= message %>

<% end %>


Adds Q & A link to site

Adds Q & A link to site

  Read our <%= link "Q & A", to: "https://docs.google.com/document/d/1cnY3BjaBxWEOcWkR9Cp2edhRxgYCwjQa9Bow_EmzP5I/", target: "_blank", rel: "noopener noreferrer" %>
  | <%= gettext "Feedback prompt" %>
  <%= link to: "mailto:c.hanke@de.edenspiekermann.com?subject=POSTBot%20Feedback%20or%20Question" do %>
    <%= gettext "Contact us" %>
  <% end %>


code formatting

code formatting

<article class="article h-entry<%= if assigns[:index], do: " index" %><%= unless @article.published, do: " unpublished" %>" lang="<%= @article.lang %>">
  <%= unless assigns[:atom] do %>

<%= link @article.title, to: show_article_path(@conn, @article) %>

      <%= link to: Routes.page_path(@conn, :about), rel: "me" do %><img src="<%= Routes.static_path(@conn, "/images/" <> @article.author.avatar) %>" class="avatar u-photo" alt="">
      <%= @article.author.name %><% end %>
      <time class="dt-published" datetime="<%= Timex.format!(@article.inserted_at, "%FT%T%:z", :strftime) %>">
        <%= link WwwtechWeb.LayoutView.time_ago_or_date(@article.inserted_at), to: show_article_path(@conn, @article), class: "u-url" %>
      </time>

  <% end %>

  <%= if @article.in_reply_to != "" and @article.in_reply_to != nil do %>

      In reply to <%= link @article.in_reply_to, to: @article.in_reply_to, class: "u-in-reply-to", rel: "in-reply-to" %>

  <% end %>

  <%= if @article.posse && !assigns[:index] do %>

  <% end %>

  <%= if !assigns[:atom] && present?(@article.excerpt) do %>

      <%= WwwtechWeb.Converter.to_html(@article, :excerpt) %>

  <% end %>

  <%= if assigns[:index] do %>
    <%= link "Read more…", to: show_article_path(@conn, @article) %>
  <% else %>

      <%= WwwtechWeb.Converter.to_html(@article) %>

  <% end %>

  <%= render WwwtechWeb.LayoutView, "answers.html", Map.put(assigns, :mentions, @article.mentions) %>

<article class="article h-entry<%= if assigns[:index], do: " index" %><%= unless @article.published, do: " unpublished" %>" lang="<%= @article.lang %>">
  <%= unless assigns[:atom] do %>

<%= link @article.title, to: show_article_path(@conn, @article) %>

      <%= link to: Routes.page_path(@conn, :about), rel: "me" do %><img src="<%= Routes.static_path(@conn, "/images/" <> @article.author.avatar) %>" class="avatar u-photo" alt="">
      <%= @article.author.name %><% end %>
      <time class="dt-published" datetime="<%= Timex.format!(@article.inserted_at, "%FT%T%:z", :strftime) %>">
        <%= link WwwtechWeb.LayoutView.time_ago_or_date(@article.inserted_at), to: show_article_path(@conn, @article), class: "u-url" %></time>

  <% end %>

  <%= if @article.in_reply_to != "" and @article.in_reply_to != nil do %>

      In reply to <%= link @article.in_reply_to, to: @article.in_reply_to, class: "u-in-reply-to", rel: "in-reply-to" %>

  <% end %>

  <%= if @article.posse && !assigns[:index] do %>

  <% end %>

  <%= if !assigns[:atom] && present?(@article.excerpt) do %>

      <%= WwwtechWeb.Converter.to_html(@article, :excerpt) %>

  <% end %>

  <%= if assigns[:index] do %>
    <%= link "Read more…", to: show_article_path(@conn, @article) %>
  <% else %>

      <%= WwwtechWeb.Converter.to_html(@article) %>

  <% end %>

  <%= render WwwtechWeb.LayoutView, "answers.html", Map.put(assigns, :mentions, @article.mentions) %>


show raw description on episode show page

  <%= link [fa_icon("podcast"), " ", @episode.podcast.title],
           to: podcast_frontend_path(@conn, :show, @episode.podcast),
           class: "btn btn-default btn-lg" %>
    /
  <%= fa_icon("headphones") %> <%= @episode.title %>

    <%= if @episode_thumbnail do %>
      <%= img_tag(@episode_thumbnail.path <> @episode_thumbnail.filename,
                  width: 150,
                  alt: @episode.image_title || @episode.podcast.image_title,
                  class: "thumbnail",
                  id: "photo") %>
    <% else %>

    <% end %>

  <%= if (@episode.description && @episode.description != @episode.shownotes) ||
         (@episode.summary && @episode.summary != @episode.description) do %>
    <div class="<%= if @episode.image_url, do: 'col-md-5', else: 'col-md-7' %>" style="border-right: 1px dotted #ccc;">
      <%= if @episode.description && @episode.description != @episode.shownotes do %>

Description

<%= truncate_string(HtmlSanitizeEx.strip_tags(@episode.description), 1000) %>

      <% end %>

      <%= if @episode.summary && @episode.summary != @episode.description do %>

Summary

<%= raw(@episode.summary) %>

      <% end %>

  <% end %>

Subtitle

<%= @episode.subtitle %>

      <%= if @episode.payment_link_url do %>

<Support

<%= link @episode.payment_link_title, to: @episode.payment_link_url %>

      <% end %>

Duration

<%= @episode.duration %>

      <%= if @episode.publishing_date do %>

Publishing date

<%= Timex.format!(@episode.publishing_date, "{ISOdate} {h24}:{m}") %>

      <% end %>
      <%= if @episode.link do %>

Link

<a href="<%= @episode.link %>"><%= @episode.link %>

      <% end %>
      <%= if @episode.deep_link do %>

Deep link

<a href="<%= @episode.deep_link %>" id="metadata"><%= @episode.deep_link %>

      <% end %>

Contributors

      <%= for {persona, gigs} <- Enum.group_by(@episode.gigs, &Map.get(&1, :persona)) do %>

          <%= link [fa_icon("user-o"), " ", persona.name],
                   to: persona_frontend_path(@conn, :show, persona),
                   class: "btn btn-xs truncate btn-lavender" %>
          <%= for gig <- gigs do %>
             <span class="label label-success" id="gig-<%= gig.id %>"><%= gig.role %>
            <%= if gig.self_proclaimed do %>

                <%= fa_icon "info-circle", class: "icon-lavender" %>

            <% end %>

          <% end %>

      <% end %>

Enclosures

      <%= for enclosure <- @episode.enclosures do %>

<%= enclosure.type %>

          <%= link String.split(enclosure.url, "/") |> List.last, to: String.trim(enclosure.url) %>

          <%= if is_integer(enclosure.length) do %>
            (<%= Float.round(String.to_integer(enclosure.length) / 1048576, 1) %> MB)
          <% end %>

      <% end %>

<%= if @current_user do %>

  Claim contribution

<%= proclaim_or_not_buttons(@current_user.id, @episode.id) %>

<% end %>

<%= if @current_user do %>

<%= like_or_unlike(@current_user.id, @episode.id) %>

<% end %>

  <%= link [fa_icon("podcast"), " ", @episode.podcast.title],
           to: podcast_frontend_path(@conn, :show, @episode.podcast),
           class: "btn btn-default btn-lg" %>
    /
  <%= fa_icon("headphones") %> <%= @episode.title %>

    <%= if @episode_thumbnail do %>
      <%= img_tag(@episode_thumbnail.path <> @episode_thumbnail.filename,
                  width: 150,
                  alt: @episode.image_title || @episode.podcast.image_title,
                  class: "thumbnail",
                  id: "photo") %>
    <% else %>

    <% end %>

  <%= if (@episode.description && @episode.description != @episode.shownotes) ||
         (@episode.summary && @episode.summary != @episode.description) do %>
    <div class="<%= if @episode.image_url, do: 'col-md-5', else: 'col-md-7' %>" style="border-right: 1px dotted #ccc;">
      <%= if @episode.description && @episode.description != @episode.shownotes do %>

Description

<%= raw(HtmlSanitizeEx.strip_tags(@episode.description)) %>

      <% end %>

      <%= if @episode.summary && @episode.summary != @episode.description do %>

Summary

<%= truncate_string(@episode.summary, 1000) %>

      <% end %>

  <% end %>

Subtitle

<%= @episode.subtitle %>

      <%= if @episode.payment_link_url do %>

<Support

<%= link @episode.payment_link_title, to: @episode.payment_link_url %>

      <% end %>

Duration

<%= @episode.duration %>

      <%= if @episode.publishing_date do %>

Publishing date

<%= Timex.format!(@episode.publishing_date, "{ISOdate} {h24}:{m}") %>

      <% end %>
      <%= if @episode.link do %>

Link

<a href="<%= @episode.link %>"><%= @episode.link %>

      <% end %>
      <%= if @episode.deep_link do %>

Deep link

<a href="<%= @episode.deep_link %>" id="metadata"><%= @episode.deep_link %>

      <% end %>

Contributors

      <%= for {persona, gigs} <- Enum.group_by(@episode.gigs, &Map.get(&1, :persona)) do %>

          <%= link [fa_icon("user-o"), " ", persona.name],
                   to: persona_frontend_path(@conn, :show, persona),
                   class: "btn btn-xs truncate btn-lavender" %>
          <%= for gig <- gigs do %>
             <span class="label label-success" id="gig-<%= gig.id %>"><%= gig.role %>
            <%= if gig.self_proclaimed do %>

                <%= fa_icon "info-circle", class: "icon-lavender" %>

            <% end %>

          <% end %>

      <% end %>

Enclosures

      <%= for enclosure <- @episode.enclosures do %>

<%= enclosure.type %>

          <%= link String.split(enclosure.url, "/") |> List.last, to: String.trim(enclosure.url) %>

          <%= if is_integer(enclosure.length) do %>
            (<%= Float.round(String.to_integer(enclosure.length) / 1048576, 1) %> MB)
          <% end %>

      <% end %>

<%= if @current_user do %>

  Claim contribution

<%= proclaim_or_not_buttons(@current_user.id, @episode.id) %>

<% end %>

<%= if @current_user do %>

<%= like_or_unlike(@current_user.id, @episode.id) %>

<% end %>


you have claimed this persona already

you have claimed this persona already

          <%= @persona.name %>

Panoptikum-ID

<%= @persona.pid %>

Permalink (URI)

<%= PanWeb.Endpoint.url %>/<%= @persona.pid %>

Name

<%= @persona.name %>

              <%= if @persona.uri do %>

Uri

<%= @persona.uri %>

              <% end %>

Business Cards

<%= link [fa_icon("vcard-o"), " Show"], to: persona_frontend_url(@conn, :business_card, @persona) %>

            Id: <%= @persona.id %>

            <%= if @persona.image_url do %>
              <object data="<%= @persona.image_url %>"
                      alt="<%= @persona.image_title%>"
                      type="image/png"
                      width="150"
                      class="thumbnail"
                      id="photo">

              </object>
            <% else %>

            <% end %>

        <%= if @current_user do %>

            <%= like_or_unlike(@current_user.id, @persona.id) %>
            <%= follow_or_unfollow(@current_user.id, @persona.id) %>

        <% end %>

    <%= cond do %>
      <% !@current_user -> %>

Claiming not available

You can only claim personas, if you are logged in.

      <% !@current_user.podcaster -> %>

Claiming not available

You didn't say you are a podcaster in
             <%= link "My Profile",  to: user_frontend_path(@conn, :my_profile),
                                     class: "btn btn-sm btn-default" %> yet.

      <% !@current_user.email_confirmed -> %>

Claiming not available

You didn't confirm your email address by clicking on the
             confirmation link in the email sent to you after login.

      <% !@persona.email -> %>

Claiming

Please take the time to read the text on the following screen carefully.

<%= link "Start claiming process", to: persona_frontend_path(@conn, :warning, @persona),
                                              class: "btn btn-normal" %>

      <% true -> %>

Claiming

        <%= if Pan.Repo.get_by(PanWeb.Manifestation, persona_id: @persona.id,
                                                     user_id: @current_user.id) do %>

You have claimed this persona already.

        <% else %>

You can send an email to the owner of this persona and ask her for permission
             to add you as a manifestation of this persona.

             Your name, username and email address will be sent alongside in the email
             to give the owner a chance to get in contact with you.

<%= link "Claim", to: persona_frontend_path(@conn, :claim, @persona),
                               class: "btn btn-normal",
                               method: :post,
                               data: [confirm: "Are you sure?"] %>

        <% end %>
    <% end %>

<%= if @persona.description || @persona.long_description do %>

<%= @persona.description %>

      <%= markdown(@persona.long_description) %>

<% end %>

<%= if @engagements != [] do %>

Engagements, <%= @persona.name %> has entered

            Podcast
            Role

          <%= for {podcast, engagements} <- Enum.group_by(@engagements, &Map.get(&1, :podcast)) do %>

               <%= link [fa_icon("podcast"), " ", truncate(podcast.title, 50)],
                             to: podcast_frontend_path(@conn, :show, podcast),
                             class: "btn btn-default btn-xs",
                             style: "color: #000" %>

                <%= for engagement <- engagements do %>
                  <%= engagement.role %>
                <% end %>

          <% end %>

<% end %>

<%= if @gigs != [] do %>

Gigs, <%= @persona.name %> has been engaged in

            Date
            Podcast
            Episode
            Role

          <%= for episode <- ordered_episodes(@gigs) do %>

              <%= if episode.publishing_date, do: format_date(episode.publishing_date) %>
              <%= link [fa_icon("podcast"), " ", episode.podcast.title],
                             to: podcast_frontend_path(@conn, :show, episode.podcast),
                             class: "btn btn-default btn-xs truncate",
                             style: "color: #000" %>
              <%= link [fa_icon("headphones"), " ", episode.title],
                          to: episode_frontend_path(@conn, :show, episode),
                          class: "btn btn-primary btn-xs truncate" %>

                <%= for gig <- @grouped_gigs[episode] do %>
                  <%= gig.role %>
                <% end %>

          <% end %>

<% end %>

<%= if @messages.total_entries > 0 do %>

Messages created by <%= @persona.name %>

      <%= pagination_links @conn, @messages, [Integer.to_string(@persona.id)],
                   path: &persona_frontend_path/4,
                   action: :show,
                   view_style: :bootstrap %>

        <%= for message <- @messages.entries do %>
          <li class="list-group-item message-<%= message.type %>">

              <%= if message.creator, do: message.creator.name, else: message.persona.name %>:

            <%= raw message.content %>
            <%= message.inserted_at %>

        <% end %>

<% end %>

          <%= @persona.name %>

Panoptikum-ID

<%= @persona.pid %>

Permalink (URI)

<%= PanWeb.Endpoint.url %>/<%= @persona.pid %>

Name

<%= @persona.name %>

              <%= if @persona.uri do %>

Uri

<%= @persona.uri %>

              <% end %>

Business Cards

<%= link [fa_icon("vcard-o"), " Show"], to: persona_frontend_url(@conn, :business_card, @persona) %>

            Id: <%= @persona.id %>

            <%= if @persona.image_url do %>
              <object data="<%= @persona.image_url %>"
                      alt="<%= @persona.image_title%>"
                      type="image/png"
                      width="150"
                      class="thumbnail"
                      id="photo">

              </object>
            <% else %>

            <% end %>

        <%= if @current_user do %>

            <%= like_or_unlike(@current_user.id, @persona.id) %>
            <%= follow_or_unfollow(@current_user.id, @persona.id) %>

        <% end %>

    <%= cond do %>
      <% !@current_user -> %>

Claiming not available

You can only claim personas, if you are logged in.

      <% !@current_user.podcaster -> %>

Claiming not available

You didn't say you are a podcaster in
             <%= link "My Profile",  to: user_frontend_path(@conn, :my_profile),
                                     class: "btn btn-sm btn-default" %> yet.

      <% !@current_user.email_confirmed -> %>

Claiming not available

You didn't confirm your email address by clicking on the
             confirmation link in the email sent to you after login.

      <% !@persona.email -> %>

Claiming

Please take the time to read the text on the following screen carefully.

<%= link "Start claiming process", to: persona_frontend_path(@conn, :warning, @persona),
                                              class: "btn btn-normal" %>

      <% true -> %>

Claiming

You can send an email to the owner of this persona and ask her for permission
           to add you as a manifestation of this persona.

           Your name, username and email address will be sent alongside in the email
           to give the owner a chance to get in contact with you.

<%= link "Claim", to: persona_frontend_path(@conn, :claim, @persona),
                             class: "btn btn-normal",
                             method: :post,
                             data: [confirm: "Are you sure?"] %>

    <% end %>

<%= if @persona.description || @persona.long_description do %>

<%= @persona.description %>

      <%= markdown(@persona.long_description) %>

<% end %>

<%= if @engagements != [] do %>

Engagements, <%= @persona.name %> has entered

            Podcast
            Role

          <%= for {podcast, engagements} <- Enum.group_by(@engagements, &Map.get(&1, :podcast)) do %>

               <%= link [fa_icon("podcast"), " ", truncate(podcast.title, 50)],
                             to: podcast_frontend_path(@conn, :show, podcast),
                             class: "btn btn-default btn-xs",
                             style: "color: #000" %>

                <%= for engagement <- engagements do %>
                  <%= engagement.role %>
                <% end %>

          <% end %>

<% end %>

<%= if @gigs != [] do %>

Gigs, <%= @persona.name %> has been engaged in

            Date
            Podcast
            Episode
            Role

          <%= for episode <- ordered_episodes(@gigs) do %>

              <%= if episode.publishing_date, do: format_date(episode.publishing_date) %>
              <%= link [fa_icon("podcast"), " ", episode.podcast.title],
                             to: podcast_frontend_path(@conn, :show, episode.podcast),
                             class: "btn btn-default btn-xs truncate",
                             style: "color: #000" %>
              <%= link [fa_icon("headphones"), " ", episode.title],
                          to: episode_frontend_path(@conn, :show, episode),
                          class: "btn btn-primary btn-xs truncate" %>

                <%= for gig <- @grouped_gigs[episode] do %>
                  <%= gig.role %>
                <% end %>

          <% end %>

<% end %>

<%= if @messages.total_entries > 0 do %>

Messages created by <%= @persona.name %>

      <%= pagination_links @conn, @messages, [Integer.to_string(@persona.id)],
                   path: &persona_frontend_path/4,
                   action: :show,
                   view_style: :bootstrap %>

        <%= for message <- @messages.entries do %>
          <li class="list-group-item message-<%= message.type %>">

              <%= if message.creator, do: message.creator.name, else: message.persona.name %>:

            <%= raw message.content %>
            <%= message.inserted_at %>

        <% end %>

<% end %>


removed activity pub widget for now

removed activity pub widget for now

          <%= @persona.name %>

Panoptikum-ID

<%= @persona.pid %>

Permalink (URI)

<%= PanWeb.Endpoint.url %>/<%= @persona.pid %>

Name

<%= @persona.name %>

              <%= if @persona.uri do %>

Uri

<%= @persona.uri %>

              <% end %>

Business Cards

<%= link [fa_icon("vcard-o"), " Show"], to: persona_frontend_url(@conn, :business_card, @persona) %>

            Id: <%= @persona.id %>

            <%= if @persona_thumbnail do %>
              <%= img_tag(@persona_thumbnail.path <> @persona_thumbnail.filename,
                          width: 150,
                          alt: @persona.image_title,
                          class: "thumbnail",
                          id: "photo") %>
            <% else %>

            <% end %>

        <%= if @current_user do %>

            <%= like_or_unlike(@current_user.id, @persona.id) %>
            <%= follow_or_unfollow(@current_user.id, @persona.id) %>

        <% end %>

    <%= cond do %>
      <% !@current_user -> %>

Claiming not available

You can only claim personas, if you are logged in.

      <% !@current_user.podcaster -> %>

Claiming not available

You didn't say you are a podcaster in
             <%= link "My Profile",  to: user_frontend_path(@conn, :my_profile),
                                     class: "btn btn-sm btn-default" %> yet.

      <% !@current_user.email_confirmed -> %>

Claiming not available

You didn't confirm your email address by clicking on the
             confirmation link in the email sent to you after login.

      <% !@persona.email -> %>

Claiming

Please take the time to read the text on the following screen carefully.

<%= link "Start claiming process", to: persona_frontend_path(@conn, :warning, @persona),
                                              class: "btn btn-normal" %>

      <% true -> %>

Claiming

        <%= if Pan.Repo.get_by(PanWeb.Manifestation, persona_id: @persona.id,
                                                     user_id: @current_user.id) do %>

You have claimed this persona already.

        <% else %>

You can send an email to the owner of this persona and ask her for permission
             to add you as a manifestation of this persona.

             Your name, username and email address will be sent alongside in the email
             to give the owner a chance to get in contact with you.

<%= link "Claim", to: persona_frontend_path(@conn, :claim, @persona),
                               class: "btn btn-normal",
                               method: :post,
                               data: [confirm: "Are you sure?"] %>

        <% end %>
    <% end %>

<%= if @persona.fediverse_address do %>

<% end %>

<%= if @persona.description || @persona.long_description do %>

<%= @persona.description %>

      <%= markdown(@persona.long_description) %>

<% end %>

<%= if false && @persona.fediverse_address do %>

<%= @persona.fediverse_address %> in the Fediverse

          <%= Pan.ActivityPub.View.widget(@persona.fediverse_address) %>

<% end %>

<%= if @engagements != [] do %>

Engagements, <%= @persona.name %> has entered

            Podcast
            Role

          <%= for {podcast, engagements} <- Enum.group_by(@engagements, &Map.get(&1, :podcast)) do %>

               <%= link [fa_icon("podcast"), " ", truncate_string(podcast.title, 50)],
                             to: podcast_frontend_path(@conn, :show, podcast),
                             class: "btn btn-default btn-xs",
                             style: "color: #000" %>

                <%= for engagement <- engagements do %>
                  <%= engagement.role %>
                <% end %>

          <% end %>

<% end %>

<%= if @gigs != [] do %>

Gigs, <%= @persona.name %> has been engaged in

    <%= if @gigs.total_pages > 1, do: pagination_links(@conn, @gigs,
                                                       last: false,
                                                       path: &slug_with_gigs/3) %>

          Date
          Podcast
          Episode
          Role

        <%= for episode <- ordered_episodes(@grouped_gigs) do %>

            <%= if episode.publishing_date, do: format_date(episode.publishing_date) %>
            <%= link [fa_icon("podcast"), " ", episode.podcast.title],
                           to: podcast_frontend_path(@conn, :show, episode.podcast),
                           class: "btn btn-default btn-xs truncate",
                           style: "color: #000" %>
            <%= link [fa_icon("headphones"), " ", episode.title || ""],
                        to: episode_frontend_path(@conn, :show, episode),
                        class: "btn btn-primary btn-xs truncate" %>

              <%= for gig <- @grouped_gigs[episode] do %>
                <%= gig.role %>
              <% end %>

        <% end %>

    <%= if @gigs.total_pages > 1, do: pagination_links(@conn, @gigs,
                                                       last: false,
                                                       path: &slug_with_gigs/3) %>

<% end %>

<%= if @messages.total_entries > 0 do %>

Messages created by <%= @persona.name %>

      <%= pagination_links @conn, @messages, [Integer.to_string(@persona.id)],
                   path: &persona_frontend_path/4,
                   action: :show,
                   view_style: :bootstrap %>

        <%= for message <- @messages.entries do %>
          <li class="list-group-item message-<%= message.type %>">

              <%= if message.creator, do: message.creator.name, else: message.persona.name %>:

            <%= raw message.content %>
            <%= message.inserted_at %>

        <% end %>

<% end %>

          <%= @persona.name %>

Panoptikum-ID

<%= @persona.pid %>

Permalink (URI)

<%= PanWeb.Endpoint.url %>/<%= @persona.pid %>

Name

<%= @persona.name %>

              <%= if @persona.uri do %>

Uri

<%= @persona.uri %>

              <% end %>

Business Cards

<%= link [fa_icon("vcard-o"), " Show"], to: persona_frontend_url(@conn, :business_card, @persona) %>

            Id: <%= @persona.id %>

            <%= if @persona_thumbnail do %>
              <%= img_tag(@persona_thumbnail.path <> @persona_thumbnail.filename,
                          width: 150,
                          alt: @persona.image_title,
                          class: "thumbnail",
                          id: "photo") %>
            <% else %>

            <% end %>

        <%= if @current_user do %>

            <%= like_or_unlike(@current_user.id, @persona.id) %>
            <%= follow_or_unfollow(@current_user.id, @persona.id) %>

        <% end %>

    <%= cond do %>
      <% !@current_user -> %>

Claiming not available

You can only claim personas, if you are logged in.

      <% !@current_user.podcaster -> %>

Claiming not available

You didn't say you are a podcaster in
             <%= link "My Profile",  to: user_frontend_path(@conn, :my_profile),
                                     class: "btn btn-sm btn-default" %> yet.

      <% !@current_user.email_confirmed -> %>

Claiming not available

You didn't confirm your email address by clicking on the
             confirmation link in the email sent to you after login.

      <% !@persona.email -> %>

Claiming

Please take the time to read the text on the following screen carefully.

<%= link "Start claiming process", to: persona_frontend_path(@conn, :warning, @persona),
                                              class: "btn btn-normal" %>

      <% true -> %>

Claiming

        <%= if Pan.Repo.get_by(PanWeb.Manifestation, persona_id: @persona.id,
                                                     user_id: @current_user.id) do %>

You have claimed this persona already.

        <% else %>

You can send an email to the owner of this persona and ask her for permission
             to add you as a manifestation of this persona.

             Your name, username and email address will be sent alongside in the email
             to give the owner a chance to get in contact with you.

<%= link "Claim", to: persona_frontend_path(@conn, :claim, @persona),
                               class: "btn btn-normal",
                               method: :post,
                               data: [confirm: "Are you sure?"] %>

        <% end %>
    <% end %>

<%= if @persona.fediverse_address do %>

<% end %>

<%= if @persona.description || @persona.long_description do %>

<%= @persona.description %>

      <%= markdown(@persona.long_description) %>

<% end %>

<%= if @persona.fediverse_address do %>

<%= @persona.fediverse_address %> in the Fediverse

          <%= Pan.ActivityPub.View.widget(@persona.fediverse_address) %>

<% end %>

<%= if @engagements != [] do %>

Engagements, <%= @persona.name %> has entered

            Podcast
            Role

          <%= for {podcast, engagements} <- Enum.group_by(@engagements, &Map.get(&1, :podcast)) do %>

               <%= link [fa_icon("podcast"), " ", truncate_string(podcast.title, 50)],
                             to: podcast_frontend_path(@conn, :show, podcast),
                             class: "btn btn-default btn-xs",
                             style: "color: #000" %>

                <%= for engagement <- engagements do %>
                  <%= engagement.role %>
                <% end %>

          <% end %>

<% end %>

<%= if @gigs != [] do %>

Gigs, <%= @persona.name %> has been engaged in

    <%= if @gigs.total_pages > 1, do: pagination_links(@conn, @gigs,
                                                       last: false,
                                                       path: &slug_with_gigs/3) %>

          Date
          Podcast
          Episode
          Role

        <%= for episode <- ordered_episodes(@grouped_gigs) do %>

            <%= if episode.publishing_date, do: format_date(episode.publishing_date) %>
            <%= link [fa_icon("podcast"), " ", episode.podcast.title],
                           to: podcast_frontend_path(@conn, :show, episode.podcast),
                           class: "btn btn-default btn-xs truncate",
                           style: "color: #000" %>
            <%= link [fa_icon("headphones"), " ", episode.title || ""],
                        to: episode_frontend_path(@conn, :show, episode),
                        class: "btn btn-primary btn-xs truncate" %>

              <%= for gig <- @grouped_gigs[episode] do %>
                <%= gig.role %>
              <% end %>

        <% end %>

    <%= if @gigs.total_pages > 1, do: pagination_links(@conn, @gigs,
                                                       last: false,
                                                       path: &slug_with_gigs/3) %>

<% end %>

<%= if @messages.total_entries > 0 do %>

Messages created by <%= @persona.name %>

      <%= pagination_links @conn, @messages, [Integer.to_string(@persona.id)],
                   path: &persona_frontend_path/4,
                   action: :show,
                   view_style: :bootstrap %>

        <%= for message <- @messages.entries do %>
          <li class="list-group-item message-<%= message.type %>">

              <%= if message.creator, do: message.creator.name, else: message.persona.name %>:

            <%= raw message.content %>
            <%= message.inserted_at %>

        <% end %>

<% end %>


field order in manifestation admin form

field order in manifestation admin form

<%= form_for @changeset, @action, fn f -> %>
  <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

  <% end %>

    <%= label f, :persona_id, class: "control-label" %>
    <%= text_input f, :persona_id, class: "form-control" %>
    <%= error_tag f, :persona_id %>

    <%= label f, :user_id, class: "control-label" %>
    <%= text_input f, :user_id, class: "form-control" %>
    <%= error_tag f, :user_id %>

    <%= submit "Submit", class: "btn btn-primary" %>

<% end %>

<%= form_for @changeset, @action, fn f -> %>
  <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

  <% end %>

    <%= label f, :user_id, class: "control-label" %>
    <%= text_input f, :user_id, class: "form-control" %>
    <%= error_tag f, :user_id %>

    <%= label f, :persona_id, class: "control-label" %>
    <%= text_input f, :persona_id, class: "form-control" %>
    <%= error_tag f, :persona_id %>

    <%= submit "Submit", class: "btn btn-primary" %>

<% end %>


remove deprecated html template code

remove deprecated html template code


fix typo

fix typo

<%= form_for @changeset, @action, [multipart: true], fn f -> %>
  <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

  <% end %>

  <%= if assigns[:error] do %>

Error: <%= @error %>

  <% end %>

    <%= label f, :title %>
    <%= text_input f, :title %>
    <%= error_tag f, :title %>

    <%= label f, :lang %>
    <%= text_input f, :lang %>
    <%= error_tag f, :lang %>

    <%= label f, :alt %>
    <%= text_input f, :alt %>
    <%= error_tag f, :alt %>

    <%= label f, :in_reply_to %>
    <%= text_input f, :in_reply_to %>
    <%= error_tag f, :in_reply_to %>

    <%= checkbox f, :posse %>
    <%= label f, :posse %>
    <%= error_tag f, :posse %>

    <%= checkbox f, :show_in_index %>
    <%= label f, :show_in_index %>
    <%= error_tag f, :show_in_index %>

    Picture
    <%= file_input f, :picture %>

    <%= label f, :content %>
    <%= textarea f, :content %>
    <%= error_tag f, :content %>

    <%= submit "Submit", class: "btn btn-primary" %>
    <%= link "Back", to: @back, class: "btn" %>

<% end %>

<%= form_for @changeset, @action, [multipart: true], fn f -> %>
  <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

  <% end %>

  <% if assigns[:error] do %>

Error: <%= @error %>

  <% end %>

    <%= label f, :title %>
    <%= text_input f, :title %>
    <%= error_tag f, :title %>

    <%= label f, :lang %>
    <%= text_input f, :lang %>
    <%= error_tag f, :lang %>

    <%= label f, :alt %>
    <%= text_input f, :alt %>
    <%= error_tag f, :alt %>

    <%= label f, :in_reply_to %>
    <%= text_input f, :in_reply_to %>
    <%= error_tag f, :in_reply_to %>

    <%= checkbox f, :posse %>
    <%= label f, :posse %>
    <%= error_tag f, :posse %>

    <%= checkbox f, :show_in_index %>
    <%= label f, :show_in_index %>
    <%= error_tag f, :show_in_index %>

    Picture
    <%= file_input f, :picture %>

    <%= label f, :content %>
    <%= textarea f, :content %>
    <%= error_tag f, :content %>

    <%= submit "Submit", class: "btn btn-primary" %>
    <%= link "Back", to: @back, class: "btn" %>

<% end %>


remove unused estimate template

remove unused estimate template


Change form in retries template to POST to :modify

Retries

<%= if @failed_jobs |> Enum.empty? do %>

No jobs waiting to be retried at the moment.

<% else %>

    <%= form_for @conn, retries_path(@conn, :modify), [as: :modify, method: "POST"], fn _ -> %>
    <input name="jobs_to_modify[]" type="hidden" value="" />

          Id
          Retry Count
          Next Retry
          Class/Worker
          Arguments

      <%= for job <- jobs(@failed_jobs) do %>

          <input name="jobs_to_modify[]" type="checkbox" value="<%= job.original_json %>" id="job_<%= job.jid %>" />
          <%= job.jid %>
          <%= job.retry_count %>
          <%= job.score %>
          <%= job.class %>

            <%= if String.length(job.args) > 128 do
                  String.slice(job.args, 0, 128) <> "..."
                else
                  job.args
                end %>

            <button type="button" class="btn btn-primary btn-xs" data-toggle="modal" data-target="#job-<%= job.jid %>-modal">
              Details
            </button>

            <%= render VerkWeb.SharedView, "job_modal.html", job: job.job, conn: @conn %>

      <% end %>

        <%= submit "Delete selected", class: "btn btn-danger btn-sm", name: "action", value: "delete" %>

        <%= submit "Retry selected now", class: "btn btn-success btn-sm", name: "action", value: "requeue" %>

        <%= if @has_prev do %>
          <%= link "Previous", to: retries_path(@conn, :index, page: @page - 1, per_page: @per_page), class: "btn btn-default" %>
        <% end %>

        <%= if @has_next do %>
          <%= link "Next", to: retries_path(@conn, :index, page: @page + 1, per_page: @per_page), class: "btn btn-default" %>
        <% end %>

  <% end %>

      <%= button "Delete all", to: retries_path(@conn, :destroy, a: "true"), method: :delete, data: [confirm: "Are you sure?"], form: [a: "b"], class: "btn btn-danger btn-sm" %>

<% end %>

Retries

<%= if @failed_jobs |> Enum.empty? do %>

No jobs waiting to be retried at the moment.

<% else %>

    <%= form_for @conn, retries_path(@conn, :destroy), [as: :delete_job, method: "DELETE"], fn _ -> %>
    <input name="jobs_to_remove[]" type="hidden" value="" />

          Id
          Retry Count
          Next Retry
          Class/Worker
          Arguments

      <%= for job <- jobs(@failed_jobs) do %>

          <input name="jobs_to_remove[]" type="checkbox" value="<%= job.original_json %>" id="job_<%= job.jid %>" />
          <%= job.jid %>
          <%= job.retry_count %>
          <%= job.score %>
          <%= job.class %>

            <%= if String.length(job.args) > 128 do
                  String.slice(job.args, 0, 128) <> "..."
                else
                  job.args
                end %>

            <button type="button" class="btn btn-primary btn-xs" data-toggle="modal" data-target="#job-<%= job.jid %>-modal">
              Details
            </button>

            <%= render VerkWeb.SharedView, "job_modal.html", job: job.job, conn: @conn %>

      <% end %>

        <%= submit "Delete selected", class: "btn btn-danger btn-sm" %>

        <%= if @has_prev do %>
          <%= link "Previous", to: retries_path(@conn, :index, page: @page - 1, per_page: @per_page), class: "btn btn-default" %>
        <% end %>

        <%= if @has_next do %>
          <%= link "Next", to: retries_path(@conn, :index, page: @page + 1, per_page: @per_page), class: "btn btn-default" %>
        <% end %>

  <% end %>

      <%= button "Delete all", to: retries_path(@conn, :destroy, a: "true"), method: :delete, data: [confirm: "Are you sure?"], form: [a: "b"], class: "btn btn-danger btn-sm" %>

<% end %>


Insert line break in subheader

Insert line break in subheader

Welcome to Phoenix!

A productive web framework that
does not compromise speed and maintainability.

Resources

        Guides

        Docs

        Source

Help

        Mailing list

        Issues

        #elixir-lang on freenode IRC

        @elixirphoenix


Remove elixir shell settings from vm.args, breaks things

## Name of the node
-name <%= rel_name %>@127.0.0.1

## Cookie for distributed erlang
-setcookie <%= rel_name %>

## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive
## (Disabled by default..use with caution!)
##-heart

## Enable kernel poll and a few async threads
##+K true
##+A 5

## Increase number of concurrent ports/sockets
##-env ERL_MAX_PORTS 4096

## Tweak GC to run more often
##-env ERL_FULLSWEEP_AFTER 10

# Enable SMP automatically based on availability
-smp auto

## Name of the node
-name <%= rel_name %>@127.0.0.1

## Cookie for distributed erlang
-setcookie <%= rel_name %>

## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive
## (Disabled by default..use with caution!)
##-heart

## Enable kernel poll and a few async threads
##+K true
##+A 5

## Increase number of concurrent ports/sockets
##-env ERL_MAX_PORTS 4096

## Tweak GC to run more often
##-env ERL_FULLSWEEP_AFTER 10

# Start Elixir shell by default
-noshell
-user Elixir.IEx.CLI
-extra --no-halt +iex


All sponsors are to have same size logo in footer

     <%= unless @conn.request_path == "/sponsors" do %>

Sponsors

  Click <%= link("here", to: Routes.page_path(@conn, :sponsors)) %> learn more about sponsors and becoming a sponsor.

          <%= for %{logo_url: logo_path, url: href} <- active_and_founding_sponsors(@sponsors) do %>

              <a href="<%= href %>" class="d-block mb-2">
                <img class="img-fluid img-thumbnail borderless sponsor" src="<%= image_path(@conn, logo_path) %>" alt="">

          <% end %>
          <%= for %{logo_url: logo_path, url: href} <- active_non_founding_sponsors(@sponsors) do %>

              <a href="<%= href %>" class="d-block mb-2">
                <img class="img-fluid img-thumbnail borderless sponsor" src="<%= image_path(@conn, logo_path) %>" alt="">

          <% end %>

<% end %>

            <img src="<%=  Routes.static_path(@conn, "/images/eef-logo.svg") %>" width="100" alt="">

Supporting the BEAM community

About the EEF

              Membership details

Join us!

Sponsors

Working Groups

Stipends

Bylaws

FAQ

Stay Up-to-Date

News

Events

Get in Touch

Contact Us

Associate Organizations

        <svg version="1.1" id="Final_HIGHT" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="60px" height="20px" viewBox="0 0 1084 300" enable-background="new 0 0 1084 300" xml:space="preserve">
          <g>
            <g>
              <path fill="#009EFF" d="M33.091,184.384c0,68.169,38.449,84.67,102.755,84.67h114.47c64.306,0,103.703-16.501,103.703-84.67
      v-36.971l-75.057,5.935v8.851c0,33.761-6.461,47.329-40.222,47.329h-91.317c-29.542,0-39.438-10.388-41.45-35.603L33.091,184.384z
      " />
              <path fill="#009EFF" d="M105.974,173.925" />
              <path fill="#009EFF" d="M556.172,133.016l-47.036,133.041h-81.993l-40.341-124.95l64.271-3.882l19.8,67.097l23.838-68.191
      L556.172,133.016z M630.73,129.979l25.992,74.343l22.104-76.155l66.859-0.862l-45.234,138.753h-81.993l-48.115-134.504
      L630.73,129.979z" />
            </g>
            <path fill="#FF6600" d="M1046.274,129.801c-5.016,41.647-25.492,50.217-94.402,53.941l-73.633,3.859
    c-29.903,1.607-34.402,7.396-34.402,28.294h207.072v50.161H778.241v-79.1c0-28.615,18.648-47.586,64.63-50.802l81.673-5.146
    c17.455-1.077,29.459-1.901,37.701-3.38L1046.274,129.801z M962.245,127.63" />
            <g>
              <g>
                <path fill="#33BBFF" d="M229.789,30.946h-93.942c-64.307,0-102.755,15.82-102.755,83.986v69.451c0,0.529,0.049,1.062,0.053,1.585
        c23.859-3.808,47.719-7.415,73.01-10.893c-0.32-3.888-0.595-8.215-0.595-12.878v-25.079c0-28.937,8.102-46.646,45.72-46.646
        h83.602c5.188,0,10.159,0.35,14.227,1.002L229.789,30.946z" />
                <path fill="#33BBFF" d="M288.608,146.712l-9.645,6.491v1.786c25.882-2.314,49.175-4.488,75.057-6.52v-33.537
        c0-4.118-0.152-8.037-0.435-11.78L288.608,146.712z" />
              </g>
              <g>
                <path fill="#33BBFF" d="M744.742,129.746l31.271-96.211H706.24l-28.32,97.762C700.018,130.696,722.295,130.133,744.742,129.746z" />
                <path fill="#33BBFF" d="M572.065,134.245c19.56-0.854,39.294-1.191,59.185-1.876l-34.336-98.834h-66.237l-36.476,105.039
        c20.149-1.14,40.511-2.618,61.063-3.571l8.213-23.823L572.065,134.245z" />
                <path fill="#33BBFF" d="M452.609,141.369L421.355,33.535h-69.774l36.498,112.374
        C409.317,144.312,430.836,142.755,452.609,141.369z" />
              </g>
            </g>
            <path fill="#FF8533" d="M845.76,109.466c0-24.115,9.332-29.346,39.555-29.346h47.269c45.656,0,47.587,4.545,47.587,23.518
    c0,18.271-2.294,22.716-29.903,25.34c32.285,0.412,64.248,1.138,95.834,1.991c1.171-8.965,1.594-19.305,1.594-31.709
    c0-48.553-17.363-68.313-84.246-68.313h-93.891c-64.307,0-91.09,15.176-91.09,61.158v26.839h67.292V109.466z" />
            <polygon fill="#FF6600" points="348.557,85.068 330.996,30.96 246.359,30.96 279.503,133.074  " />
          </g>
        </svg>

     <%= unless @conn.request_path == "/sponsors" do %>

Sponsors

  Click <%= link("here", to: Routes.page_path(@conn, :sponsors)) %> learn more about sponsors and becoming a sponsor.

          <%= for %{logo_url: logo_path, url: href} <- active_and_founding_sponsors(@sponsors) do %>

              <a href="<%= href %>" class="d-block mb-2">
                <img class="img-fluid img-thumbnail borderless sponsor" src="<%= image_path(@conn, logo_path) %>" alt="">

          <% end %>
          <%= for %{logo_url: logo_path, url: href} <- active_non_founding_sponsors(@sponsors) do %>

                  <a href="<%= href %>" class="d-block mb-2">
                    <img class="mx-auto d-block img-half-size img-fluid img-thumbnail borderless sponsor" src="<%= image_path(@conn, logo_path) %>" alt="">

          <% end %>

<% end %>

            <img src="<%=  Routes.static_path(@conn, "/images/eef-logo.svg") %>" width="100" alt="">

Supporting the BEAM community

About the EEF

              Membership details

Join us!

Sponsors

Working Groups

Stipends

Bylaws

FAQ

Stay Up-to-Date

News

Events

Get in Touch

Contact Us

Associate Organizations

        <svg version="1.1" id="Final_HIGHT" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="60px" height="20px" viewBox="0 0 1084 300" enable-background="new 0 0 1084 300" xml:space="preserve">
          <g>
            <g>
              <path fill="#009EFF" d="M33.091,184.384c0,68.169,38.449,84.67,102.755,84.67h114.47c64.306,0,103.703-16.501,103.703-84.67
      v-36.971l-75.057,5.935v8.851c0,33.761-6.461,47.329-40.222,47.329h-91.317c-29.542,0-39.438-10.388-41.45-35.603L33.091,184.384z
      " />
              <path fill="#009EFF" d="M105.974,173.925" />
              <path fill="#009EFF" d="M556.172,133.016l-47.036,133.041h-81.993l-40.341-124.95l64.271-3.882l19.8,67.097l23.838-68.191
      L556.172,133.016z M630.73,129.979l25.992,74.343l22.104-76.155l66.859-0.862l-45.234,138.753h-81.993l-48.115-134.504
      L630.73,129.979z" />
            </g>
            <path fill="#FF6600" d="M1046.274,129.801c-5.016,41.647-25.492,50.217-94.402,53.941l-73.633,3.859
    c-29.903,1.607-34.402,7.396-34.402,28.294h207.072v50.161H778.241v-79.1c0-28.615,18.648-47.586,64.63-50.802l81.673-5.146
    c17.455-1.077,29.459-1.901,37.701-3.38L1046.274,129.801z M962.245,127.63" />
            <g>
              <g>
                <path fill="#33BBFF" d="M229.789,30.946h-93.942c-64.307,0-102.755,15.82-102.755,83.986v69.451c0,0.529,0.049,1.062,0.053,1.585
        c23.859-3.808,47.719-7.415,73.01-10.893c-0.32-3.888-0.595-8.215-0.595-12.878v-25.079c0-28.937,8.102-46.646,45.72-46.646
        h83.602c5.188,0,10.159,0.35,14.227,1.002L229.789,30.946z" />
                <path fill="#33BBFF" d="M288.608,146.712l-9.645,6.491v1.786c25.882-2.314,49.175-4.488,75.057-6.52v-33.537
        c0-4.118-0.152-8.037-0.435-11.78L288.608,146.712z" />
              </g>
              <g>
                <path fill="#33BBFF" d="M744.742,129.746l31.271-96.211H706.24l-28.32,97.762C700.018,130.696,722.295,130.133,744.742,129.746z" />
                <path fill="#33BBFF" d="M572.065,134.245c19.56-0.854,39.294-1.191,59.185-1.876l-34.336-98.834h-66.237l-36.476,105.039
        c20.149-1.14,40.511-2.618,61.063-3.571l8.213-23.823L572.065,134.245z" />
                <path fill="#33BBFF" d="M452.609,141.369L421.355,33.535h-69.774l36.498,112.374
        C409.317,144.312,430.836,142.755,452.609,141.369z" />
              </g>
            </g>
            <path fill="#FF8533" d="M845.76,109.466c0-24.115,9.332-29.346,39.555-29.346h47.269c45.656,0,47.587,4.545,47.587,23.518
    c0,18.271-2.294,22.716-29.903,25.34c32.285,0.412,64.248,1.138,95.834,1.991c1.171-8.965,1.594-19.305,1.594-31.709
    c0-48.553-17.363-68.313-84.246-68.313h-93.891c-64.307,0-91.09,15.176-91.09,61.158v26.839h67.292V109.466z" />
            <polygon fill="#FF6600" points="348.557,85.068 330.996,30.96 246.359,30.96 279.503,133.074  " />
          </g>
        </svg>


single change

single change

Curated content

  <%= for post <- @posts do %>

    <% img_src = hd(post.json_metadata["image"] || post.json_metadata["images"] || [false] ) %>

        <a href="/authors/<%= post.author %>/<%= post.permlink %>">

          <%= if img_src do %>
            <img src="<%= img_src %>">
          <% end %>

        <a class="header" href="/authors/<%= post.author %>/<%= post.permlink %>"> <%= post.title %>
        <a class="ui large blue ribbon label" href="/authors/<%= post.author %>">  @<%= post.author  %>

          <%= for tag <- post.tags do %>
            <a class="ui  label" href="/tags/<%=tag%>">
              <%= format_tag(tag, @conn.assigns.lang) %>

          <% end %>

  <% end %>

Additional pages

    <%= for {v, i} <- generate_pagination_list(@current_page) do %>

    <a class="<%=if v == @current_page, do: "active" %> item"
      href="<%= @conn.request_path <> "?" <> URI.encode_query(%{"page"=> v}) %>">
      <%= v %>

    <% end %>

Tags present in this page

    <%= for post <- @posts do %>
        <%= for tag <- post.tags do %>
        <a class="ui Small label" href="/tags/<%=tag%>">
          <%= format_tag(tag, @conn.assigns.lang) %>

        <% end %>
    <% end %>


Hopefully fix Android language selector issue

<!DOCTYPE html>
<html lang="<%= @conn.assigns.locale %>">

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="<%= assigns[:page_description] %>">
    <meta name="author" content="Dataskydd.net">
    <meta name="referrer" content="no-referrer">
    <meta property="og:image" content="<%= Routes.static_path(@conn, "/images/dataskydd_eye2.png") %>">
    <%= if @view_template == "status.html" do %>
      <meta http-equiv="refresh" content="5">
    <% end %>
    <title><%= assigns[:page_title] %> | Webbkoll - dataskydd.net</title>
    <link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>">

    <link rel="apple-touch-icon" sizes="57x57" href="/images/apple-touch-icon-57x57.png">
    <link rel="apple-touch-icon" sizes="114x114" href="/images/apple-touch-icon-114x114.png">
    <link rel="apple-touch-icon" sizes="72x72" href="/images/apple-touch-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="144x144" href="/images/apple-touch-icon-144x144.png">
    <link rel="apple-touch-icon" sizes="60x60" href="/images/apple-touch-icon-60x60.png">
    <link rel="apple-touch-icon" sizes="120x120" href="/images/apple-touch-icon-120x120.png">
    <link rel="apple-touch-icon" sizes="76x76" href="/images/apple-touch-icon-76x76.png">
    <link rel="apple-touch-icon" sizes="152x152" href="/images/apple-touch-icon-152x152.png">
    <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-180x180.png">
    <link rel="icon" type="image/png" href="/images/favicon-192x192.png" sizes="192x192">
    <link rel="icon" type="image/png" href="/images/favicon-160x160.png" sizes="160x160">
    <link rel="icon" type="image/png" href="/images/favicon-96x96.png" sizes="96x96">
    <link rel="icon" type="image/png" href="/images/favicon-16x16.png" sizes="16x16">
    <link rel="icon" type="image/png" href="/images/favicon-32x32.png" sizes="32x32">

    <meta name="msapplication-TileColor" content="#da532c">
    <meta name="msapplication-TileImage" content="/images/mstile-144x144.png">

              <a href="/<%= @conn.assigns.locale %>">

                webbkoll | dataskydd.net

              <%= link gettext("News"), to: Routes.page_path(@conn, :news, @conn.assigns.locale) %>

              <%= link gettext("About"), to: Routes.page_path(@conn, :about, @conn.assigns.locale) %>

              <%= link gettext("FAQ"), to: Routes.page_path(@conn, :faq, @conn.assigns.locale) %>

            <% current_lang = @conn.assigns.locale %>

              <%= link language_from_code(current_lang), to: '#!', aria_haspopup: "true", class: "language-select" %>

                <%= for lang <- Map.keys(Application.get_env(:webbkoll, :locales)) |> Enum.reject(& &1 == current_lang) do %>

                  <%= link language_from_code(lang), to: path_helper(@conn, lang) %>

                <% end %>

           <form role="search" method="get" action="/<%= @conn.assigns.locale %>/check">
              <input name="url" type="search" placeholder="example.com" aria-label="<%= gettext("URL to check") %>">
              <button type="submit" aria-label="<%= gettext("Search") %>" title="<%= gettext("Search") %>">

              </button>
            </form>

      <%= render @view_module, @view_template, assigns %>

            <%= gettext "Test results are stored in memory on our server for 24 hours. We don't show a list of tested URLs. We don't use URLs or test results. We don't log IP addresses and we don't use cookies." %>

            <%= gettext "Developed by" %> dataskydd.net.

<%= gettext("The code is available on GitHub.") |> raw %>

<%= gettext("Feedback? Questions? info@dataskydd.net") |> raw %>

Twitter: @dataskyddnet

<%= link gettext("Support us"), to: Routes.page_path(@conn, :donate, @conn.assigns.locale) %>

<%= Application.get_env(:webbkoll, :version) %>

<!DOCTYPE html>
<html lang="<%= @conn.assigns.locale %>">

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="<%= assigns[:page_description] %>">
    <meta name="author" content="Dataskydd.net">
    <meta name="referrer" content="no-referrer">
    <meta property="og:image" content="<%= Routes.static_path(@conn, "/images/dataskydd_eye2.png") %>">
    <%= if @view_template == "status.html" do %>
      <meta http-equiv="refresh" content="5">
    <% end %>
    <title><%= assigns[:page_title] %> | Webbkoll - dataskydd.net</title>
    <link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>">

    <link rel="apple-touch-icon" sizes="57x57" href="/images/apple-touch-icon-57x57.png">
    <link rel="apple-touch-icon" sizes="114x114" href="/images/apple-touch-icon-114x114.png">
    <link rel="apple-touch-icon" sizes="72x72" href="/images/apple-touch-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="144x144" href="/images/apple-touch-icon-144x144.png">
    <link rel="apple-touch-icon" sizes="60x60" href="/images/apple-touch-icon-60x60.png">
    <link rel="apple-touch-icon" sizes="120x120" href="/images/apple-touch-icon-120x120.png">
    <link rel="apple-touch-icon" sizes="76x76" href="/images/apple-touch-icon-76x76.png">
    <link rel="apple-touch-icon" sizes="152x152" href="/images/apple-touch-icon-152x152.png">
    <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-180x180.png">
    <link rel="icon" type="image/png" href="/images/favicon-192x192.png" sizes="192x192">
    <link rel="icon" type="image/png" href="/images/favicon-160x160.png" sizes="160x160">
    <link rel="icon" type="image/png" href="/images/favicon-96x96.png" sizes="96x96">
    <link rel="icon" type="image/png" href="/images/favicon-16x16.png" sizes="16x16">
    <link rel="icon" type="image/png" href="/images/favicon-32x32.png" sizes="32x32">

    <meta name="msapplication-TileColor" content="#da532c">
    <meta name="msapplication-TileImage" content="/images/mstile-144x144.png">

              <a href="/<%= @conn.assigns.locale %>">

                webbkoll | dataskydd.net

              <%= link gettext("News"), to: Routes.page_path(@conn, :news, @conn.assigns.locale) %>

              <%= link gettext("About"), to: Routes.page_path(@conn, :about, @conn.assigns.locale) %>

              <%= link gettext("FAQ"), to: Routes.page_path(@conn, :faq, @conn.assigns.locale) %>

            <% current_lang = @conn.assigns.locale %>

              <%= link language_from_code(current_lang), to: path_helper(@conn, current_lang), aria_haspopup: "true", class: "language-select" %>

                <%= for lang <- Map.keys(Application.get_env(:webbkoll, :locales)) |> Enum.reject(& &1 == current_lang) do %>

                  <%= link language_from_code(lang), to: path_helper(@conn, lang) %>

                <% end %>

           <form role="search" method="get" action="/<%= @conn.assigns.locale %>/check">
              <input name="url" type="search" placeholder="example.com" aria-label="<%= gettext("URL to check") %>">
              <button type="submit" aria-label="<%= gettext("Search") %>" title="<%= gettext("Search") %>">

              </button>
            </form>

      <%= render @view_module, @view_template, assigns %>

            <%= gettext "Test results are stored in memory on our server for 24 hours. We don't show a list of tested URLs. We don't use URLs or test results. We don't log IP addresses and we don't use cookies." %>

            <%= gettext "Developed by" %> dataskydd.net.

<%= gettext("The code is available on GitHub.") |> raw %>

<%= gettext("Feedback? Questions? info@dataskydd.net") |> raw %>

Twitter: @dataskyddnet

<%= link gettext("Support us"), to: Routes.page_path(@conn, :donate, @conn.assigns.locale) %>

<%= Application.get_env(:webbkoll, :version) %>


Perf: add preconnect hint for CDN domain

<!DOCTYPE html>

    <link rel="preconnect" href="<%= Routes.static_url(@conn, "/") %>">
    <link rel="shortcut icon" href="<%= Routes.static_url(@conn, "/favicon.ico") %>">
    <%= if Application.get_env(:remote_retro, :env) == :prod do %>

    <% else %>

    <% end %>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="A real-time application for conducting Agile retrospectives">
    <meta name="google-site-verification" content="T5W8sjrjt-BmTK5SYTjPM-FQZD8oGNatTNAJSyRex7o" />
    <meta name="author" content="">
    <title><%= assigns[:title] || "RemoteRetro.org | Free. World-class. Agile retrospectives." %></title>

    <link rel="stylesheet" href="<%= Routes.static_url(@conn, "/css/semantic-ui/semantic.min.css") %>">
    <link rel="stylesheet" href="<%= app_css(@conn) %>">
    <link rel="apple-touch-icon" href="<%= Routes.static_url(@conn, "/images/apple-touch-icon.png") %>">

    <%= if Application.get_env(:remote_retro, :env) == :test do %>

    <% end %>

  <body class="<%= assigns[:body_class] %>">

    <%= unless assigns[:omit_header] do %>

RemoteRetro

Built by

<img height="21" width="21" src="<%= Routes.static_url(@conn, "/images/stride_logo.png") %>" alt="Stride" />

          <%= if assigns[:current_user] do %>

              Log Out

          <% end %>

    <% end %>
      <%= @inner_content %>

    <%= if assigns[:include_js] do %>

    <% end %>

<!DOCTYPE html>

    <link rel="shortcut icon" href="<%= Routes.static_url(@conn, "/favicon.ico") %>">
    <%= if Application.get_env(:remote_retro, :env) == :prod do %>

    <% else %>

    <% end %>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="A real-time application for conducting Agile retrospectives">
    <meta name="google-site-verification" content="T5W8sjrjt-BmTK5SYTjPM-FQZD8oGNatTNAJSyRex7o" />
    <meta name="author" content="">
    <title><%= assigns[:title] || "RemoteRetro.org | Free. World-class. Agile retrospectives." %></title>

    <link rel="stylesheet" href="<%= Routes.static_url(@conn, "/css/semantic-ui/semantic.min.css") %>">
    <link rel="stylesheet" href="<%= app_css(@conn) %>">
    <link rel="apple-touch-icon" href="<%= Routes.static_url(@conn, "/images/apple-touch-icon.png") %>">

    <%= if Application.get_env(:remote_retro, :env) == :test do %>

    <% end %>

  <body class="<%= assigns[:body_class] %>">

    <%= unless assigns[:omit_header] do %>

RemoteRetro

Built by

<img height="21" width="21" src="<%= Routes.static_url(@conn, "/images/stride_logo.png") %>" alt="Stride" />

          <%= if assigns[:current_user] do %>

              Log Out

          <% end %>

    <% end %>
      <%= @inner_content %>

    <%= if assigns[:include_js] do %>

    <% end %>


Simplifies the if

Simplifies the if

          About <%= @program_data.name %>

          <%= CoursePlanner.SharedView.card do %>
            <%= CoursePlanner.SharedView.card_content vpadding: true do %>

                <%= if @program_data.logo do %>

                    <img src="<%= @program_data.logo %>", class="profile-picture">

                <% end %>

                <%= if @program_data.address do %>

Address

                      <%= @program_data.address %>

                <% end%>

                <%= if @program_data.email do %>

Email

                      <%= @program_data.email %>

                <% end %>

                <%= if @program_data.phone do %>

Phone number

                      <%= @program_data.phone %>

                <% end %>

                <%= if @program_data.website do %>

Website

                      <%= @program_data.website %>

                <% end %>

                <%= if @program_data.description do %>

Description

                      <%= @program_data.description %>

                <% end %>

                <%= if @program_data.information do %>

Information

                      <%= @program_data.information %>

                <% end %>

          <% end %>
        <% end %>

          About <%= @program_data.name %>

          <%= CoursePlanner.SharedView.card do %>
            <%= CoursePlanner.SharedView.card_content vpadding: true do %>

                <%= if not is_nil(@program_data.logo) do %>

                    <img src="<%= @program_data.logo %>", class="profile-picture">

                <% end %>

                <%= if not is_nil(@program_data.address) do %>

Address

                      <%= @program_data.address %>

                <% end%>

                <%= if not is_nil(@program_data.email) do %>

Email

                      <%= @program_data.email %>

                <% end %>

                <%= if not is_nil(@program_data.phone) do %>

Phone number

                      <%= @program_data.phone %>

                <% end %>

                <%= if not is_nil(@program_data.website) do %>

Website

                      <%= @program_data.website %>

                <% end %>

                <%= if not is_nil(@program_data.description) do %>

Description

                      <%= @program_data.description %>

                <% end %>

                <%= if not is_nil(@program_data.information) do %>

Information

                      <%= @program_data.description %>

                <% end %>

          <% end %>
        <% end %>


Simplify company index view

Simplify company index view

Listing companies

<%= link "New company", to: company_path(@conn, :new) %>

      Name
      Join date
      Members

<%= for company <- @companies do %>

        <%= link company.name, to: company_path(@conn, :show, company) %>
        <%= link "Edit", to: company_path(@conn, :edit, company), class: "btn btn-default btn-xs" %>
        <%= link "Delete", to: company_path(@conn, :delete, company), method: :delete, data: [confirm: "Are you sure?"], class: "btn btn-danger btn-xs" %>

      <%= company.join_date %>

          <%= for member <- company.members do %>

<%= link member.name, to: company_member_path(@conn, :show, company, member) %>

          <% end %>

<% end %>

<%= link "New company", to: company_path(@conn, :new) %>

Listing companies

      Name
      Join date
      Departure date
      Members

<%= for company <- @companies do %>

      <%= link company.name, to: company_path(@conn, :show, company) %>
      <%= company.join_date %>
      <%= company.departure_date %>

          <%= for member <- company.members do %>

<%= link member.name, to: company_member_path(@conn, :show, company, member) %>

          <% end %>

        <%= link "Edit", to: company_path(@conn, :edit, company), class: "btn btn-default btn-xs" %>
        <%= link "Delete", to: company_path(@conn, :delete, company), method: :delete, data: [confirm: "Are you sure?"], class: "btn btn-danger btn-xs" %>

<% end %>

<%= link "New company", to: company_path(@conn, :new) %>