Changes the wrote header to "Description"

Listing courses

      Name
      Description

<%= for course <- @courses do %>

      <%= course.name %>
      <%= course.description %>

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

<% end %>

<%= link "New course", to: course_path(@conn, :new) %>

Listing courses

      Name
      Number of sessions

<%= for course <- @courses do %>

      <%= course.name %>
      <%= course.description %>

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

<% end %>

<%= link "New course", to: course_path(@conn, :new) %>


needs newline at end or .deb hates life

needs newline at end or .deb hates life

Package: <%= sanitized_name %><%= if external_dependencies != nil do %>
Version: <%= version %>
Vendor: <%= vendor %>
Architecture: <%= arch %>
Maintainer: <%= maintainers %>
Installed-Size: <%= installed_size %>
Depends: <%= external_dependencies %>
Priority: optional
Section: utils
Homepage: <%= homepage %>
Description: <%= description %><% else %>
Version: <%= version %>
Vendor: <%= vendor %>
Architecture: <%= arch %>
Maintainer: <%= maintainers %>
Installed-Size: <%= installed_size %>
Priority: optional
Section: utils
Homepage: <%= homepage %>
Description: <%= description %>
<% end %>

Package: <%= sanitized_name %><%= if external_dependencies != nil do %>
Version: <%= version %>
Vendor: <%= vendor %>
Architecture: <%= arch %>
Maintainer: <%= maintainers %>
Installed-Size: <%= installed_size %>
Depends: <%= external_dependencies %>
Priority: optional
Section: utils
Homepage: <%= homepage %>
Description: <%= description %><% else %>
Version: <%= version %>
Vendor: <%= vendor %>
Architecture: <%= arch %>
Maintainer: <%= maintainers %>
Installed-Size: <%= installed_size %>
Priority: optional
Section: utils
Homepage: <%= homepage %>
Description: <%= description %><% end %>


Add video attributes to fix autoplay into Chrome (#571)

<video class="so-embed--player" playsinline src="<%= @video.video_url %>" loop controls poster="<%= @video.thumbnail_url %>" <%= if @autoplay == "true", do: 'autoplay muted playsinline loop' %>></video>
<a href="<%= @entry_path %>" target="_blank" rel="noopener"><img class="so-embed--logo" src="/images/logo.svg" alt="<%= gettext("SignDict Logo") %>" />
<a href="<%= @entry_path %>" target="_blank" rel="noopener" class="sc-button so-embed--details"><%= gettext("Details >") %>

<video class="so-embed--player" playsinline src="<%= @video.video_url %>" loop controls poster="<%= @video.thumbnail_url %>" <%= if @autoplay == "true", do: 'autoplay' %>></video>
<a href="<%= @entry_path %>" target="_blank" rel="noopener"><img class="so-embed--logo" src="/images/logo.svg" alt="<%= gettext("SignDict Logo") %>" />
<a href="<%= @entry_path %>" target="_blank" rel="noopener" class="sc-button so-embed--details"><%= gettext("Details >") %>


Basic data table rendering

Basic data table rendering

* need to see how easily accessible nice formatting functions
  are in current Benchee as some of the formatting is gross :)


show event title and description on dashboard

<%= @event.name %>

    <%= render_markdown @event.description_markdown %>

        Lastest materials

          <%= link "View all", to: classroom_material_path(@conn, :index, @event), class: "btn btn-sm btn-secondary" %>

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

No materials available

All the information you need should be in materials.

          <%= if has_permission?(current_memberships(@conn), [1, 2]) do %>
            <%= link "Create Materials", to: classroom_material_path(@conn, :new, @event), class: "btn btn-outline-primary" %>
          <% end %>

      <% else %>

          <%= for material <- @latest_unlocked_materials do %>

                  <%= link material.title, to: classroom_material_path(@conn, :show, @event, material) %>

          <% end %>

      <% end %>

        Lastest tasks

          <%= link "View all", to: classroom_task_path(@conn, :index, @event), class: "btn btn-sm btn-secondary" %>

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

No tasks available

With tasks you can practise your new knowledge.

          <%= if has_permission?(current_memberships(@conn), [1, 2]) do %>
            <%= link "Create Tasks", to: classroom_task_path(@conn, :new, @event), class: "btn btn-outline-primary" %>
          <% end %>

      <% else %>

          <%= for task <- @latest_unlocked_tasks do %>

                  <%= link task.title, to: classroom_task_path(@conn, :show, @event, task) %>

          <% end %>

      <% end %>

        Lastest chat messages

          <%= link "View all", to: classroom_chat_message_path(@conn, :index, @event), class: "btn btn-sm btn-secondary" %>

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

No chat messages available

Hurry! And be the first, who writes something in the chat!

          <%= link "Write message", to: classroom_chat_message_path(@conn, :index, @event), class: "btn btn-outline-primary" %>

      <% else %>

            <%= for chat_message <- Enum.reverse(@latest_chat_messages) do %>

                    <img class="pull-left" src="https://www.gravatar.com/avatar/<%= Base.encode16(:crypto.hash(:md5, String.downcase(chat_message.user.email)), case: :lower) %>?s=32&d=identicon">

                      <%= chat_message.user.email %>
                      at <%= l(chat_message.inserted_at) %>

<%= chat_message.body %>

            <% end %>

      <% end %>

Feedbacks

          <%= if @feedback_averages.trainer_rating do %>

              Content rating: Ø <%= format_rating(@feedback_averages.content_rating) %>

              Trainer rating: Ø <%= format_rating(@feedback_averages.trainer_rating) %>

              Location rating: Ø <%= format_rating(@feedback_averages.location_rating) %>

          <% else %>

No feedbacks available

Let us know what we can do better.

          <% end %>

            New attendees

              <%= link "View all", to: classroom_membership_path(@conn, :index, @event), class: "btn btn-sm btn-secondary" %>

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

No attendees available

An event lives from its participats.

              <%= if has_permission?(current_memberships(@conn), [1, 2]) do %>
                <%= link "Invite people", to: classroom_membership_path(@conn, :index, @event), class: "btn btn-outline-primary" %>
              <% end %>

          <% else %>

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

                      <img class="pull-left" src="https://www.gravatar.com/avatar/<%= Base.encode16(:crypto.hash(:md5, String.downcase(membership.user.email)), case: :lower) %>?s=32&d=identicon">

                      <%= membership.user.email %>

              <% end %>

          <% end %>

<%= @event.name %>

        Lastest materials

          <%= link "View all", to: classroom_material_path(@conn, :index, @event), class: "btn btn-sm btn-secondary" %>

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

No materials available

All the information you need should be in materials.

          <%= if has_permission?(current_memberships(@conn), [1, 2]) do %>
            <%= link "Create Materials", to: classroom_material_path(@conn, :new, @event), class: "btn btn-outline-primary" %>
          <% end %>

      <% else %>

          <%= for material <- @latest_unlocked_materials do %>

                  <%= link material.title, to: classroom_material_path(@conn, :show, @event, material) %>

          <% end %>

      <% end %>

        Lastest tasks

          <%= link "View all", to: classroom_task_path(@conn, :index, @event), class: "btn btn-sm btn-secondary" %>

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

No tasks available

With tasks you can practise your new knowledge.

          <%= if has_permission?(current_memberships(@conn), [1, 2]) do %>
            <%= link "Create Tasks", to: classroom_task_path(@conn, :new, @event), class: "btn btn-outline-primary" %>
          <% end %>

      <% else %>

          <%= for task <- @latest_unlocked_tasks do %>

                  <%= link task.title, to: classroom_task_path(@conn, :show, @event, task) %>

          <% end %>

      <% end %>

        Lastest chat messages

          <%= link "View all", to: classroom_chat_message_path(@conn, :index, @event), class: "btn btn-sm btn-secondary" %>

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

No chat messages available

Hurry! And be the first, who writes something in the chat!

          <%= link "Write message", to: classroom_chat_message_path(@conn, :index, @event), class: "btn btn-outline-primary" %>

      <% else %>

            <%= for chat_message <- Enum.reverse(@latest_chat_messages) do %>

                    <img class="pull-left" src="https://www.gravatar.com/avatar/<%= Base.encode16(:crypto.hash(:md5, String.downcase(chat_message.user.email)), case: :lower) %>?s=32&d=identicon">

                      <%= chat_message.user.email %>
                      at <%= l(chat_message.inserted_at) %>

<%= chat_message.body %>

            <% end %>

      <% end %>

Feedbacks

          <%= if @feedback_averages.trainer_rating do %>

              Content rating: Ø <%= format_rating(@feedback_averages.content_rating) %>

              Trainer rating: Ø <%= format_rating(@feedback_averages.trainer_rating) %>

              Location rating: Ø <%= format_rating(@feedback_averages.location_rating) %>

          <% else %>

No feedbacks available

Let us know what we can do better.

          <% end %>

            New attendees

              <%= link "View all", to: classroom_membership_path(@conn, :index, @event), class: "btn btn-sm btn-secondary" %>

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

No attendees available

An event lives from its participats.

              <%= if has_permission?(current_memberships(@conn), [1, 2]) do %>
                <%= link "Invite people", to: classroom_membership_path(@conn, :index, @event), class: "btn btn-outline-primary" %>
              <% end %>

          <% else %>

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

                      <img class="pull-left" src="https://www.gravatar.com/avatar/<%= Base.encode16(:crypto.hash(:md5, String.downcase(membership.user.email)), case: :lower) %>?s=32&d=identicon">

                      <%= membership.user.email %>

              <% end %>

          <% end %>


show try pro box only once

show try pro box only once

My Profile

    <%= link "Edit your data", to: user_frontend_path(@conn, :edit),
                               class: "btn btn-warning pull-right" %>

User Name

<%= @user.username %>

Full Name

<%= @user.name %>

Email

<%= @user.email %>

      <%= if @user.admin do %>

Admin

          I have admin priviliges.

      <% end %>

Podcaster

        <%= if @user.podcaster do %>
          I am a podcaster myself.
        <% else %>
          I am not a podcaster.
        <% end %>

Privacy

        <%= if @user.share_follows do %>
          I do currently share my followings.
        <% else %>
          I do not share my followings.
        <% end %>

        <%= if @user.share_subscriptions do %>
          I do currently share my subscriptions.
        <% else %>
          I do not share my subscriptions.
        <% end %>

    <%= if @user.pro_until do %>

Unlock all pro features for one year pro for 12 EUR only!

          <%= link "Pro features", to: page_frontend_path(@conn, :pro_features),
                                   class: "btn btn-primary" %>
          <%= link "Payment information", to: user_frontend_path(@conn, :payment_info),
                              class: "btn btn-warning pull-right" %>

Pro account until

          <%= Timex.format!(@user.pro_until, "{ISOdate}") %>
          <%= Timex.format!(@user.pro_until, "{h24}:{m}") %>,
          that is <%= Timex.diff(@user.pro_until, Timex.now(), :days) %> days from now.

Billing address

<%= @user.billing_address %>

Payment reference

<%= @user.payment_reference %>

Paper bill

          <%= if @user.paper_bill do %>
            I want to receive a bill printed on paper via snail mail.
          <% else %>
            It's fine to get the bill via email and I can download it as pdf.
          <% end %>

    <% end %>

<%= unless @current_user.pro_until do %>

Try it free for 30 days!

      Claim your free pro account without any further obligations!

      Why? To to support Panoptikum or to unlock all pro features now!

      <%= link "Pro features", to: page_frontend_path(@conn, :pro_features),
                               class: "btn btn-primary" %>
      <%= link "Start your free trail", to: user_frontend_path(@conn, :go_pro),
                                        class: "btn btn-warning pull-right",
                                        method: :post %>

<% end %>

<%= if @user.invoices != [] do %>

My invoices

  All invoices, that appear hear, have been paid already.

    <%= for invoice <- @user.invoices do %>

        <%= fa_icon("calendar") %> <%= Timex.format!(invoice.inserted_at, "{ISOdate} {h24}:{m}") %>

        <%= link [fa_icon("download"), " ", fa_icon("file-pdf-o"), " ", invoice.filename],
                 to: invoice_frontend_path(@conn, :download, invoice) %>

    <% end %>

<% end %>

Personas
  <button class="btn btn-primary btn-sm pull-right"
          data-toggle="popover"
          data-placement="left"
          data-title="Personas"
          data-html="true"
          data-content="Your personas are your different identities when you are podcasting.

            You might be podcasting in the name of an organisation, a group or use an alias,
            when you appear contributing to a podcast.
 We call all these different identities
            personas.">
    <%= fa_icon "info-circle" %> Help
  </button>

<%= for persona <- @user.personas do %>

        <%= persona.name %> (<%= persona.pid %>)

          <%= link "Edit persona", to: persona_frontend_path(@conn, :edit, persona),
                           class: "btn btn-warning pull-right" %>

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

            </object>
          <% else %>

          <% end %>

Pid

<%= persona.pid %>

name

<%= persona.name %>

uri

<%= persona.uri %>

email

<%= persona.email %>

description

<%= persona.description %>

image_url

<%= if persona.image_url, do: truncate(persona.image_url, 40) %>

image_title

<%= persona.image_title %>

Delegations
            <button class="btn btn-primary btn-xs pull-right"
                  data-toggle="popover"
                  data-placement="left"
                  data-title="Delegation"
                  data-content="A delegation lets the gigs (i.e. contributions to episodes) and
                    engagements (i.e. contributions to podcasts) of the persona also appear on the
                    profile page of the target persona.">
              <%= fa_icon "info-circle" %> Help
            </button>

            <%= for delegate_persona <- @user.personas do %>
              <%= if delegate_persona.id in Enum.map(persona.delegates, fn(delegate) -> delegate.id end) do %>

                  <%= fa_icon("link") %>

                  <%= link [fa_icon("user-o"), " ", delegate_persona.name],
                             to: persona_frontend_path(@conn, :show, delegate_persona),
                             class: "btn btn-default btn-xs"%>

                    <%= fa_icon("id-card-o") %> <%= delegate_persona.pid %>

                  <%= link [fa_icon("unlink"), " cancel"],
                           to: persona_frontend_path(@conn, :toggle_delegation, persona.id,
                                                     delegate_id: delegate_persona.id),
                           class: "btn btn-warning btn-xs " <> disabled(@current_user) %>

              <% end %>
            <% end %>

            <%= for delegate_persona <- @user.personas do %>
              <%= unless delegate_persona.id in Enum.map(persona.delegates, fn(delegate) -> delegate.id end) do %>
                <%= if delegate_persona != persona do %>

                    <%= fa_icon("unlink") %>
                    <%= link [fa_icon("user-o"), " ", delegate_persona.name],
                             to: persona_frontend_path(@conn, :show, delegate_persona),
                             class: "btn btn-default btn-xs" %>

                      <%= fa_icon("id-card-o") %> <%= delegate_persona.pid %>

                    <%= link [fa_icon("link"), " delegate"],
                             to: persona_frontend_path(@conn, :toggle_delegation, persona.id,
                                                       delegate_id: delegate_persona.id),
                             class: "btn btn-info btn-xs " <> disabled(@current_user) %>

                <% end %>
              <% end %>
            <% end %>

Redirection
            <button class="btn btn-primary btn-xs pull-right"
                data-toggle="popover"
                data-placement="left"
                data-title="Redirection"
                data-content="The redirection redirects the persona profile page to the profile
                  page of the target persona.">
            <%= fa_icon "info-circle" %> Help
          </button>

            <%= if persona.redirect do %>

                <%= fa_icon("arrow-right") %>
                <%= link [fa_icon("user-o"), " ", persona.redirect.name],
                          to: persona_frontend_path(@conn, :show, persona.redirect.pid),
                          class: "btn btn-default btn-xs" %>

                  <%= fa_icon("id-card-o") %> <%= persona.redirect.pid %>

                <%= link [fa_icon("unlink"), " cancel"],
                         to: persona_frontend_path(@conn, :cancel_redirect, persona.id),
                         class: "btn btn-warning btn-xs " <> disabled(@current_user) %>

            <% else %>

                This persona is not redirected.

              <%= for target_persona <- @user.personas do %>
                <%= if target_persona.id != persona.id do %>

                    <%= fa_icon("unlink") %>
                    <%= link [fa_icon("user-o"), " ", target_persona.name],
                              to: persona_frontend_path(@conn, :show, target_persona.id),
                              class: "btn btn-default btn-xs" %>

                      <%= fa_icon("id-card-o") %> <%= target_persona.pid %>

                    <%= link [fa_icon("arrow-right"), " redirect"],
                             to: persona_frontend_path(@conn, :redirect, persona.id,
                                                       target_id: target_persona.id),
                             class: "btn btn-danger btn-xs " <> disabled(@current_user) %>

                <% end %>
              <% end %>
            <% end %>

<% end %>

My Profile

    <%= link "Edit your data", to: user_frontend_path(@conn, :edit),
                               class: "btn btn-warning pull-right" %>

User Name

<%= @user.username %>

Full Name

<%= @user.name %>

Email

<%= @user.email %>

      <%= if @user.admin do %>

Admin

          I have admin priviliges.

      <% end %>

Podcaster

        <%= if @user.podcaster do %>
          I am a podcaster myself.
        <% else %>
          I am not a podcaster.
        <% end %>

Privacy

        <%= if @user.share_follows do %>
          I do currently share my followings.
        <% else %>
          I do not share my followings.
        <% end %>

        <%= if @user.share_subscriptions do %>
          I do currently share my subscriptions.
        <% else %>
          I do not share my subscriptions.
        <% end %>

    <%= if @user.pro_until do %>

Unlock all pro features for one year pro for 12 EUR only!

          <%= link "Pro features", to: page_frontend_path(@conn, :pro_features),
                                   class: "btn btn-primary" %>
          <%= link "Payment information", to: user_frontend_path(@conn, :payment_info),
                              class: "btn btn-warning pull-right" %>

Pro account until

          <%= Timex.format!(@user.pro_until, "{ISOdate}") %>
          <%= Timex.format!(@user.pro_until, "{h24}:{m}") %>,
          that is <%= Timex.diff(@user.pro_until, Timex.now(), :days) %> days from now.

Billing address

<%= @user.billing_address %>

Payment reference

<%= @user.payment_reference %>

Paper bill

          <%= if @user.paper_bill do %>
            I want to receive a bill printed on paper via snail mail.
          <% else %>
            It's fine to get the bill via email and I can download it as pdf.
          <% end %>

    <% end %>

<%= unless pro(@current_user) do %>

Try it free for 30 days!

      Claim your free pro account without any further obligations!

      Why? To to support Panoptikum or to unlock all pro features now!

      <%= link "Pro features", to: page_frontend_path(@conn, :pro_features),
                               class: "btn btn-primary" %>
      <%= link "Start your free trail", to: user_frontend_path(@conn, :go_pro),
                                        class: "btn btn-warning pull-right",
                                        method: :post %>

<% end %>

<%= if @user.invoices != [] do %>

My invoices

  All invoices, that appear hear, have been paid already.

    <%= for invoice <- @user.invoices do %>

        <%= fa_icon("calendar") %> <%= Timex.format!(invoice.inserted_at, "{ISOdate} {h24}:{m}") %>

        <%= link [fa_icon("download"), " ", fa_icon("file-pdf-o"), " ", invoice.filename],
                 to: invoice_frontend_path(@conn, :download, invoice) %>

    <% end %>

<% end %>

Personas
  <button class="btn btn-primary btn-sm pull-right"
          data-toggle="popover"
          data-placement="left"
          data-title="Personas"
          data-html="true"
          data-content="Your personas are your different identities when you are podcasting.

            You might be podcasting in the name of an organisation, a group or use an alias,
            when you appear contributing to a podcast.
 We call all these different identities
            personas.">
    <%= fa_icon "info-circle" %> Help
  </button>

<%= for persona <- @user.personas do %>

        <%= persona.name %> (<%= persona.pid %>)

          <%= link "Edit persona", to: persona_frontend_path(@conn, :edit, persona),
                           class: "btn btn-warning pull-right" %>

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

            </object>
          <% else %>

          <% end %>

Pid

<%= persona.pid %>

name

<%= persona.name %>

uri

<%= persona.uri %>

email

<%= persona.email %>

description

<%= persona.description %>

image_url

<%= if persona.image_url, do: truncate(persona.image_url, 40) %>

image_title

<%= persona.image_title %>

Delegations
            <button class="btn btn-primary btn-xs pull-right"
                  data-toggle="popover"
                  data-placement="left"
                  data-title="Delegation"
                  data-content="A delegation lets the gigs (i.e. contributions to episodes) and
                    engagements (i.e. contributions to podcasts) of the persona also appear on the
                    profile page of the target persona.">
              <%= fa_icon "info-circle" %> Help
            </button>

            <%= for delegate_persona <- @user.personas do %>
              <%= if delegate_persona.id in Enum.map(persona.delegates, fn(delegate) -> delegate.id end) do %>

                  <%= fa_icon("link") %>

                  <%= link [fa_icon("user-o"), " ", delegate_persona.name],
                             to: persona_frontend_path(@conn, :show, delegate_persona),
                             class: "btn btn-default btn-xs"%>

                    <%= fa_icon("id-card-o") %> <%= delegate_persona.pid %>

                  <%= link [fa_icon("unlink"), " cancel"],
                           to: persona_frontend_path(@conn, :toggle_delegation, persona.id,
                                                     delegate_id: delegate_persona.id),
                           class: "btn btn-warning btn-xs " <> disabled(@current_user) %>

              <% end %>
            <% end %>

            <%= for delegate_persona <- @user.personas do %>
              <%= unless delegate_persona.id in Enum.map(persona.delegates, fn(delegate) -> delegate.id end) do %>
                <%= if delegate_persona != persona do %>

                    <%= fa_icon("unlink") %>
                    <%= link [fa_icon("user-o"), " ", delegate_persona.name],
                             to: persona_frontend_path(@conn, :show, delegate_persona),
                             class: "btn btn-default btn-xs" %>

                      <%= fa_icon("id-card-o") %> <%= delegate_persona.pid %>

                    <%= link [fa_icon("link"), " delegate"],
                             to: persona_frontend_path(@conn, :toggle_delegation, persona.id,
                                                       delegate_id: delegate_persona.id),
                             class: "btn btn-info btn-xs " <> disabled(@current_user) %>

                <% end %>
              <% end %>
            <% end %>

Redirection
            <button class="btn btn-primary btn-xs pull-right"
                data-toggle="popover"
                data-placement="left"
                data-title="Redirection"
                data-content="The redirection redirects the persona profile page to the profile
                  page of the target persona.">
            <%= fa_icon "info-circle" %> Help
          </button>

            <%= if persona.redirect do %>

                <%= fa_icon("arrow-right") %>
                <%= link [fa_icon("user-o"), " ", persona.redirect.name],
                          to: persona_frontend_path(@conn, :show, persona.redirect.pid),
                          class: "btn btn-default btn-xs" %>

                  <%= fa_icon("id-card-o") %> <%= persona.redirect.pid %>

                <%= link [fa_icon("unlink"), " cancel"],
                         to: persona_frontend_path(@conn, :cancel_redirect, persona.id),
                         class: "btn btn-warning btn-xs " <> disabled(@current_user) %>

            <% else %>

                This persona is not redirected.

              <%= for target_persona <- @user.personas do %>
                <%= if target_persona.id != persona.id do %>

                    <%= fa_icon("unlink") %>
                    <%= link [fa_icon("user-o"), " ", target_persona.name],
                              to: persona_frontend_path(@conn, :show, target_persona.id),
                              class: "btn btn-default btn-xs" %>

                      <%= fa_icon("id-card-o") %> <%= target_persona.pid %>

                    <%= link [fa_icon("arrow-right"), " redirect"],
                             to: persona_frontend_path(@conn, :redirect, persona.id,
                                                       target_id: target_persona.id),
                             class: "btn btn-danger btn-xs " <> disabled(@current_user) %>

                <% end %>
              <% end %>
            <% end %>

<% end %>


Fix link target

Fix link target

<%= render("_offer.html", conn: @conn, offer: @offer, show_cta: true) %>
<div class="offer-link">
  <%= link(gettext("Go to the offer!"), to: @offer.url, class: "btn btn-info", target: "_blank") %>
</div>

<%= render("_offer.html", conn: @conn, offer: @offer, show_cta: true) %>
<div class="offer-link">
  <%= link(gettext("Go to the offer!"), to: @offer.url, class: "btn btn-info") %>
</div>


remove transfers page

remove transfers page

<!DOCTYPE>

<meta charset="utf-8">
	<title>NEOSCAN | <%= get_page(@conn) %></title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="format-detection" content="telephone=no"/>
	<meta name="mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<link rel="shortcut icon" href="<%= static_path(@conn, "/favicon.ico") %>">

	<link href="<%= static_path(@conn, "/css/app.css") %>" rel="stylesheet">

	<meta property="og:title" content="NeoScan - NEO Blockchain Explorer" />
	<meta property="og:url" content="[neoscan.io]" />
	<meta property="og:type" content="website" />
	<meta property="og:description" content="A blockchain explorer for the NEO project. Track blocks, addresses, balances, transactions, NEO, GAS and other assets on the platform." />
	<meta property="og:image" content="<%= static_path(@conn, "/images/coz.png") %>" />

	<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i,700,700i|Teko:300,500" rel="stylesheet">

			<button class="hamburger hamburger--spin" type="button">

			</button>

<%= get_lang_text(@conn) %>

          <li value="en" class="<%= if get_language(@conn) == "en" do %>active-lang<% end %>">English

          <li value="de" class="<%= if get_language(@conn) == "de" do %>active-lang<% end %>">Deutsch

          <li value="fr" class="<%= if get_language(@conn) == "fr" do %>active-lang<% end %>">Français

          <li value="it" class="<%= if get_language(@conn) == "it" do %>active-lang<% end %>">Italiano

          <li value="pt-br" class="<%= if get_language(@conn) == "pt-br" do %>active-lang<% end %>">Português

          <li value="ro" class="<%= if get_language(@conn) == "ro" do %>active-lang<% end %>">Română

          <li value="ru" class="<%= if get_language(@conn) == "ru" do %>active-lang<% end %>">Русский

          <li value="zh" class="<%= if get_language(@conn) == "zh" do %>active-lang<% end %>">中文

          <li value="jp" class="<%= if get_language(@conn) == "jp" do %>active-lang<% end %>">日本語

          <img src="<%= static_path(@conn, "/images/NEOSCAN_Logo.svg") %>" alt="<%= gettext "NEOSCAN Home" %>" title="<%= gettext "NEOSCAN Home" %>" width="163px" height="32px" class="neoscan-logo" />

      <%= form_for @conn, home_path(@conn, :index), [as: :search], fn f -> %>
        <%= text_input f, :for,placeholder: gettext("Block Height, Hash, Address or Transaction id"),class: "searchbar fa fa-search", type: "search" %>
				<%= submit "", [class: "icon search-btn fa fa-search"]  %>
        <%= error_tag f, :for %>
      <% end %>

						<a href="<%= home_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_home_path(@conn), do: " active" %>"><%= gettext "Explorer" %>

						<a href="<%= transactions_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_transactions_path(@conn), do: " active" %>"><%= gettext "Transactions" %>

						<a href="<%= addresses_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_addresses_path(@conn), do: " active" %>"><%= gettext "Wallet Addresses" %>

						<a href="<%= blocks_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_blocks_path(@conn), do: " active" %>"><%= gettext "Blocks" %>

						<a href="<%= assets_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_assets_path(@conn), do: " active" %>"><%= gettext "Assets" %>

						<a href="<%= doc_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_doc_path(@conn), do: " active" %>"><%= gettext "API" %>

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

					<img src="<%= static_path(@conn, "/images/NEOSCAN_Logo.svg") %>" alt="NEOSCAN Home" title="NEOSCAN Home" class="neoscan-logo-footer" width="136px" height="27px" />

<%= gettext "The source code is" %> <a href="http://opensource.org/licenses/mit-license.php" alt="<%= gettext "View MIT License"%>" title="<%= gettext "View MIT License"%>" class="large-blue-link"><%= gettext "licensed" %> MIT

<%= gettext "The website content is licensed" %> CC ANS 4.0

<a href="https://neoscan-testnet.io/" alt="<%= gettext "NEOSCAN Testnet"%>" title="<%= gettext "NEOSCAN Testnet"%>" class="large-blue-link"><%= gettext "NEOSCAN Testnet" %>

© 2017 <a href="http://cityofzion.io/" alt="<%= gettext "Visit City of Zion"%>" title="<%= gettext "Visit City of Zion"%>" class="large-blue-link"><%= gettext "City Of Zion" %>

						<a href="https://discord.gg/Md676aR" alt="<%= gettext "NEO Discord"%>" title="<%= gettext "NEO Discord"%>" class="coz-discord"><%= gettext "NEO Discord" %>

						<a href="https://github.com/CityOfZion" alt="<%= gettext "City of Zion Github" %>" title="<%= gettext "City of Zion Github" %>" class="coz-github"><%= gettext "City of Zion Github" %>

						<a href="<%= doc_path(@conn, :index) %>" alt="<%= gettext "NEOSCAN API" %>" title="<%= gettext "NEOSCAN API" %>" class="coz-api"><%= gettext "NEOSCAN API" %>

              <%= if get_tooltips(@conn) == "on" do %><%= gettext "Tooltips On " %><% end %>
              <%= if get_tooltips(@conn) == "off" do %><%= gettext "Tooltips Off " %><% end %>

<!DOCTYPE>

<meta charset="utf-8">
	<title>NEOSCAN | <%= get_page(@conn) %></title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="format-detection" content="telephone=no"/>
	<meta name="mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<link rel="shortcut icon" href="<%= static_path(@conn, "/favicon.ico") %>">

	<link href="<%= static_path(@conn, "/css/app.css") %>" rel="stylesheet">

	<meta property="og:title" content="NeoScan - NEO Blockchain Explorer" />
	<meta property="og:url" content="[neoscan.io]" />
	<meta property="og:type" content="website" />
	<meta property="og:description" content="A blockchain explorer for the NEO project. Track blocks, addresses, balances, transactions, NEO, GAS and other assets on the platform." />
	<meta property="og:image" content="<%= static_path(@conn, "/images/coz.png") %>" />

	<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i,700,700i|Teko:300,500" rel="stylesheet">

			<button class="hamburger hamburger--spin" type="button">

			</button>

<%= get_lang_text(@conn) %>

          <li value="en" class="<%= if get_language(@conn) == "en" do %>active-lang<% end %>">English

          <li value="de" class="<%= if get_language(@conn) == "de" do %>active-lang<% end %>">Deutsch

          <li value="fr" class="<%= if get_language(@conn) == "fr" do %>active-lang<% end %>">Français

          <li value="it" class="<%= if get_language(@conn) == "it" do %>active-lang<% end %>">Italiano

          <li value="pt-br" class="<%= if get_language(@conn) == "pt-br" do %>active-lang<% end %>">Português

          <li value="ro" class="<%= if get_language(@conn) == "ro" do %>active-lang<% end %>">Română

          <li value="ru" class="<%= if get_language(@conn) == "ru" do %>active-lang<% end %>">Русский

          <li value="zh" class="<%= if get_language(@conn) == "zh" do %>active-lang<% end %>">中文

          <li value="jp" class="<%= if get_language(@conn) == "jp" do %>active-lang<% end %>">日本語

          <img src="<%= static_path(@conn, "/images/NEOSCAN_Logo.svg") %>" alt="<%= gettext "NEOSCAN Home" %>" title="<%= gettext "NEOSCAN Home" %>" width="163px" height="32px" class="neoscan-logo" />

      <%= form_for @conn, home_path(@conn, :index), [as: :search], fn f -> %>
        <%= text_input f, :for,placeholder: gettext("Block Height, Hash, Address or Transaction id"),class: "searchbar fa fa-search", type: "search" %>
				<%= submit "", [class: "icon search-btn fa fa-search"]  %>
        <%= error_tag f, :for %>
      <% end %>

						<a href="<%= home_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_home_path(@conn), do: " active" %>"><%= gettext "Explorer" %>

						<a href="<%= transactions_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_transactions_path(@conn), do: " active" %>"><%= gettext "Transactions" %>

						<a href="<%= transfers_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_transfers_path(@conn), do: " active" %>"><%= gettext "Transfers" %>

						<a href="<%= addresses_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_addresses_path(@conn), do: " active" %>"><%= gettext "Wallet Addresses" %>

						<a href="<%= blocks_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_blocks_path(@conn), do: " active" %>"><%= gettext "Blocks" %>

						<a href="<%= assets_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_assets_path(@conn), do: " active" %>"><%= gettext "Assets" %>

						<a href="<%= doc_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_doc_path(@conn), do: " active" %>"><%= gettext "API" %>

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

					<img src="<%= static_path(@conn, "/images/NEOSCAN_Logo.svg") %>" alt="NEOSCAN Home" title="NEOSCAN Home" class="neoscan-logo-footer" width="136px" height="27px" />

<%= gettext "The source code is" %> <a href="http://opensource.org/licenses/mit-license.php" alt="<%= gettext "View MIT License"%>" title="<%= gettext "View MIT License"%>" class="large-blue-link"><%= gettext "licensed" %> MIT

<%= gettext "The website content is licensed" %> CC ANS 4.0

<a href="https://neoscan-testnet.io/" alt="<%= gettext "NEOSCAN Testnet"%>" title="<%= gettext "NEOSCAN Testnet"%>" class="large-blue-link"><%= gettext "NEOSCAN Testnet" %>

© 2017 <a href="http://cityofzion.io/" alt="<%= gettext "Visit City of Zion"%>" title="<%= gettext "Visit City of Zion"%>" class="large-blue-link"><%= gettext "City Of Zion" %>

						<a href="https://discord.gg/Md676aR" alt="<%= gettext "NEO Discord"%>" title="<%= gettext "NEO Discord"%>" class="coz-discord"><%= gettext "NEO Discord" %>

						<a href="https://github.com/CityOfZion" alt="<%= gettext "City of Zion Github" %>" title="<%= gettext "City of Zion Github" %>" class="coz-github"><%= gettext "City of Zion Github" %>

						<a href="<%= doc_path(@conn, :index) %>" alt="<%= gettext "NEOSCAN API" %>" title="<%= gettext "NEOSCAN API" %>" class="coz-api"><%= gettext "NEOSCAN API" %>

              <%= if get_tooltips(@conn) == "on" do %><%= gettext "Tooltips On " %><% end %>
              <%= if get_tooltips(@conn) == "off" do %><%= gettext "Tooltips Off " %><% end %>


polish reference page

polish reference page


Update pro_features.html.eex

Update pro_features.html.eex

Pro features

Users with a Pro Account have access to additonal features regarding personas

get a "speaking" URL to your personas page

edit the content of your personas page

URL to persona page

The automatically generated persona page has an URL that I find not easy to remember.

A random example: https://panoptikum.io/9e113027-16d7-5534-a6d5-1711c00e822c

So if you want to use the persona page as a showcase of your podcaster portfolio change the URL to something more memorable.

Another random example: https://panoptikum.io/waldgruber

Content of persona page

The possibilty to edit the presented information on the persona page helps to overcome the hurl of incomplete feed data. Not all podcast producers name all contributors in each episode or if several people own a podcast together, the feed lists them together.

Login and try it out for free!

<%= link "My profile", to: user_frontend_path(@conn, :my_profile), class: "btn btn-primary" %>

Pro features

This page is work in progress and will be completed in a few days.

<%= link "My profile", to: user_frontend_path(@conn, :my_profile), class: "btn btn-primary" %>


Fixed password error lookup

Fixed password error lookup

<%= form_for @conn, session_path(@conn, :create), [as: :session], fn f  -> %>

  <% login_field = Coherence.Config.login_field %>

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

        Welcome back!

        <%= CoursePlanner.SharedView.form_text f, login_field, required: true %>
        <%= if error do %>

            <%= error %>

        <% end %>

        <%= CoursePlanner.SharedView.form_password f, :password, required: true %>

        <%= CoursePlanner.SharedView.form_submit f, "Next", class: "login__button" %>

        <%= coherence_links(@conn, :new_session) %>

<% end %>

<%= form_for @conn, session_path(@conn, :create), [as: :session], fn f  -> %>

  <% login_field = Coherence.Config.login_field %>

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

        Welcome back!

        <%= CoursePlanner.SharedView.form_text f, login_field, required: true %>
        <%= if error do %>

            <%= error %>

        <% end %>

        <%= CoursePlanner.SharedView.form_password f, "password", required: true %>

        <%= CoursePlanner.SharedView.form_submit f, "Next", class: "login__button" %>

        <%= coherence_links(@conn, :new_session) %>

<% end %>


polish

polish

		A liquid democracy where anyone can vote on anything.

		Explore polls

Simple, yet powerful.

					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.

					Transparency

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

How is this useful?

				Have a look at some simple examples below:

						Fact Verification

Global Warming Is Caused by Human Activity

9/11 Attacks Were an Inside Job

Sea Level Rise Since Year 1900 in Centimeters

Median Tax Rate in the USA

						Opinions

We Should Implement Universal Basic Income

Number of Refugees We Should Let Inside the EU

						Predictions

Year When We Will Have Artificial General Intelligence

Additional Tax Revenue in USD If Recreational Cannabis Becomes Legal in California

Year When We Will Completely Cure Cancer

Difference in Sea Level From Year 2000 Until Year 2050 in Centimeters

		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

Simple, yet powerful.

					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 better informed decisions. They also help people not familiar with the subject to quickly learn about it.

					Trust Metrics

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

					Transparency

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

How is this useful?

				Have a look at some simple examples below:

						Fact Verification

Global Warming Is Caused by Human Activity

9/11 Attacks Were an Inside Job

Sea Level Rise Since Year 1900 in Centimeters

Median Tax Rate in the USA

						Opinions

We Should Implement Universal Basic Income

Number of Refugees We Should Allow in the EU

						Predictions

Year When We Will Have Artificial General Intelligence

Additional Tax Revenue in USD If Recreational Cannabis Becomes Legal in California

Year When We Will Completely Cure Cancer

Difference in Sea Level From Year 2000 Until Year 2050 in Centimeters

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


Update copy

Update copy

      <img src="<%= static_path(@conn, "/images/logo.png") %>" class="logo"/>

ElixirJobs

<%= gettext "Find your next Elixir job." %>

    <input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">

      <a class="btn-publish" href="<%= offer_path(@conn, :new) %>"><%= gettext "Publish a job offer" %>

      <%= gettext "You can follow via" %>
      Twitter
      RSS

      <%= gettext "Running on Phoenix!" %>
      <%= gettext "Open Source" %>
      <%= gettext "About" %>

      <img src="<%= static_path(@conn, "/images/logo.png") %>" class="logo"/>

ElixirJobs

<%= gettext "Find your next Elixir job the right way." %>

    <input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">

      <a class="btn-publish" href="<%= offer_path(@conn, :new) %>"><%= gettext "Publish a job offer" %>

      <%= gettext "You can follow via" %>
      Twitter
      RSS

      <%= gettext "Running on Phoenix!" %>
      <%= gettext "Open Source" %>
      <%= gettext "About" %>


always show add reference form

always show add reference form

<%= if @poll.topics != nil do %>

		<%= for topic <- @poll.topics do %>
			<a href="<%= html_explore_path(@conn, :show, topic) %>" class="topic">#<%= topic %>
		<% end %>

<% end %>

<%= raw(@poll.title) %>

	<%= render "score.html", poll: @poll, is_above_minimum_voting_power: @is_above_minimum_voting_power %>

	<a href="/polls/<%= @poll.id %>/details"> Details
	<a href="/polls/<%= @poll.id %>/vote"> Vote

<%= unless Enum.empty?(@references) do %>
	<%= if @poll.choice_type == "probability" do %>

References

	<% else %>

References for quantity

	<% end %>
	<%= render "references.html", poll: @poll, references: @references %>
<% else %>

There are no references here.

<% end %>

<%= unless Enum.empty?(@inverse_references) do %>

Polls that reference this poll

	<%= for reference <- @inverse_references do %>

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

	<% end %>
<% end %>

<%= if @poll.kind == "custom" do %>

You can enter the URL of a reference below and then vote to approve it.

	<form action="/polls/<%= @poll.id %>/references" class="pure-form pure-g">
		<%= if @poll.choice_type == "probability" do %>

				<input name="reference_poll_id" type="text" placeholder="Poll URL" class="pure-input-1" />

				<button type="submit" name="for_choice" value="1" class="pure-button" style="width: 48%;">View positive</button>
				<button type="submit" name="for_choice" value="0" class="pure-button" style="width: 48%;">View negative</button>

		<% else %>

				<input name="reference_poll_id" type="text" placeholder="Poll URL" class="pure-input-1" />

				<input name="for_choice" type="text" placeholder="Evidence for choice" class="pure-input-1" />

				<button type="submit" class="pure-button" style="width: 100%;">View</button>

		<% end %>
	</form>
<% end %>

<%= if @poll.topics != nil do %>

		<%= for topic <- @poll.topics do %>
			<a href="<%= html_explore_path(@conn, :show, topic) %>" class="topic">#<%= topic %>
		<% end %>

<% end %>

<%= raw(@poll.title) %>

	<%= render "score.html", poll: @poll, is_above_minimum_voting_power: @is_above_minimum_voting_power %>

	<a href="/polls/<%= @poll.id %>/details"> Details
	<a href="/polls/<%= @poll.id %>/vote"> Vote

<%= unless Enum.empty?(@references) do %>
	<%= if @poll.choice_type == "probability" do %>

References

	<% else %>

References for quantity

	<% end %>
	<%= render "references.html", poll: @poll, references: @references %>
<% else %>
	<%= if @poll.kind == "custom" do %>

There are no references here.

You can enter the URL of a reference below and then vote to approve it.

		<form action="/polls/<%= @poll.id %>/references" class="pure-form pure-g">
			<%= if @poll.choice_type == "probability" do %>

					<input name="reference_poll_id" type="text" placeholder="Poll URL" class="pure-input-1" />

					<button type="submit" name="for_choice" value="1" class="pure-button" style="width: 48%;">View positive</button>
					<button type="submit" name="for_choice" value="0" class="pure-button" style="width: 48%;">View negative</button>

			<% else %>

					<input name="reference_poll_id" type="text" placeholder="Poll URL" class="pure-input-1" />

					<input name="for_choice" type="text" placeholder="Evidence for choice" class="pure-input-1" />

					<button type="submit" class="pure-button" style="width: 100%;">View</button>

			<% end %>
		</form>
	<% end %>
<% end %>

<%= unless Enum.empty?(@inverse_references) do %>

Polls that reference this poll

	<%= for reference <- @inverse_references do %>

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

	<% end %>
<% end %>


publish transactions

publish transactions

Transaction Information

  <span class="fa <%= get_icon(@transaction.type) %>">
  <%= get_type(@transaction.type) %>
  | Hash:
  <%= @transaction.txid %>

<a href="<%= transactions_path(@conn, :index) %>" alt="Back to all transactions" title="Back to all transactions" class="back-link"><%= gettext "Back to all transactions" %>

      <%= if @transaction.type == "ClaimTransaction" do %>

<%= gettext "Claimed from" %>

        <%= for input <- @transaction.claims do %>

            <a href="<%= address_path(@conn, :index, input.address_hash)%>" alt="View wallet address" title="View wallet address" class="large-blue-link wallet-address"><%= input.address_hash %>

<%= Helpers.round_or_not(input.value) %> <%= Api.get_asset_name(input.asset) %>

        <% end %>
      <% end %>
      <%= if @transaction.type != "ClaimTransaction" and @transaction.vin != []  do %>

<%= gettext "Sent from" %>

        <%= for input <- @transaction.vin do %>

    				<a href="<%= address_path(@conn, :index, input.address_hash)%>" alt="View wallet address" title="View wallet address" class="large-blue-link wallet-address"><%= input.address_hash %>

<%= Helpers.round_or_not(input.value) %> <%= Api.get_asset_name(input.asset) %>

        <% end %>
      <% end %>

		<img src="<%= static_path(@conn, "/images/ICON_Sent-arrow.svg")%>" alt="Sent arrow" title="Sent arrow" class="transaction-sent-arrow" />

      <%= if @transaction.vouts != [] do %>

<%= gettext "Sent to" %>

        <%= for vout <- @transaction.vouts do %>

    				<a href="<%= address_path(@conn, :index, vout.address_hash)%>" alt="View wallet address" title="View wallet address" class="large-blue-link wallet-address"><%= vout.address_hash %>

<%= Helpers.round_or_not(vout.value) %> <%= Api.get_asset_name(vout.asset) %>

        <% end %>
      <% end %>
      <%= if @transaction.type == "RegisterTransaction" do %>

<%= gettext "Registered" %>

          <a href="<%= address_path(@conn, :index, @transaction.asset.admin)%>" alt="View wallet address" title="View wallet address" class="large-blue-link wallet-address"><%= @transaction.asset.admin %>

<%= Helpers.round_or_not(@transaction.asset.amount) %> <%= Api.get_asset_name(@transaction.txid) %>

      <% end %>

<%= gettext "Time" %>

<%= compare_time_and_get_minutes(@transaction.time) %>

      <%= get_explanation("transaction_time") %>

<%= gettext "Network Fee" %>

<%= @transaction.net_fee %>

      <%= get_explanation("transaction_network_fees") %>

<%= gettext "System Fee" %>

<%= @transaction.sys_fee %>

      <%= get_explanation("transaction_system_fees") %>

<%= gettext "Included in Block" %>

<a href="<%= block_path( @conn, :index, @transaction.block_hash) %>" alt="View transaction" title="View transaction" class="large-blue-link col-4-width"><%= @transaction.block_height %>

<%= gettext "Size" %>

<%= @transaction.size %> <%= gettext "bytes" %>

      <%= get_explanation("transaction_size") %>

  <%= if @transaction.contractt != nil do %>

<%= gettext "Bytecode Script" %>

<%= Poison.decode!(@transaction.contract) %>

  <% end %>

<%= gettext "Bytecode Invocation Script" %>

      <%= get_explanation("bytecode_invocation_script") %>

			<%= for script <- @transaction.scripts do %>

<%= get_inv(script) %>

			<% end %>

<%= gettext "Bytecode Verification Script" %>

      <%= get_explanation("bytecode_verification_script") %>

			<%= for script <- @transaction.scripts do %>

<%= get_ver(script) %>

			<% end %>

  <%= if @transaction.attributes != [] do %>
		<%= for att <- @transaction.attributes do %>

<%= gettext "Atributte: " %> <%=att["usage"]%>

<%= att["data"] %>

		<% end %>
  <% end %>
  <%= if @transaction.script != nil do %>

<%= gettext "Bytecode Script" %>

<%= @transaction.script %>

  <% end %>

<%= gettext "Opcode Invocation Script" %>

      <%= get_explanation("opcode_invocation_script") %>

        <%= for script <- @transaction.scripts do %>
          <%= for operation <- parse_invocation(script) do %>
            <%= operation %>
          <% end %>
        <% end %>

<%= gettext "Opcode Verification Script" %>

      <%= get_explanation("opcode_verification_script") %>

        <%= for script <- @transaction.scripts do %>
          <%= for operation <- parse_verification(script) do %>
            <%= operation %>
          <% end %>
        <% end %>

  <%= if @transaction.attributes != [] do %>
		<%= for att <- @transaction.attributes do %>

<%= gettext "Opcode Attribute:" %> <%=att["usage"]%>

<%= Disassembler.parse_script(att["data"]) %>

		<% end %>
  <% end %>
  <%= if @transaction.script != nil do %>

<%= gettext "Opcode Script" %>

<%= Disassembler.parse_script(@transaction.script) %>

  <% end %>

Transaction Information

  <span class="fa <%= get_icon(@transaction.type) %>">
  <%= get_type(@transaction.type) %>
  | Hash:
  <%= @transaction.txid %>

<a href="<%= transactions_path(@conn, :index) %>" alt="Back to all transactions" title="Back to all transactions" class="back-link"><%= gettext "Back to all transactions" %>

      <%= if @transaction.type == "ClaimTransaction" do %>

<%= gettext "Claimed from" %>

        <%= for input <- @transaction.claims do %>

            <a href="<%= address_path(@conn, :index, input.address_hash)%>" alt="View wallet address" title="View wallet address" class="large-blue-link wallet-address"><%= input.address_hash %>

<%= Helpers.round_or_not(input.value) %> <%= Api.get_asset_name(input.asset) %>

        <% end %>
      <% end %>
      <%= if @transaction.type != "ClaimTransaction" and @transaction.vin != []  do %>

<%= gettext "Sent from" %>

        <%= for input <- @transaction.vin do %>

    				<a href="<%= address_path(@conn, :index, input.address_hash)%>" alt="View wallet address" title="View wallet address" class="large-blue-link wallet-address"><%= input.address_hash %>

<%= Helpers.round_or_not(input.value) %> <%= Api.get_asset_name(input.asset) %>

        <% end %>
      <% end %>

		<img src="<%= static_path(@conn, "/images/ICON_Sent-arrow.svg")%>" alt="Sent arrow" title="Sent arrow" class="transaction-sent-arrow" />

      <%= if @transaction.vouts != [] do %>

<%= gettext "Sent to" %>

        <%= for vout <- @transaction.vouts do %>

    				<a href="<%= address_path(@conn, :index, vout.address_hash)%>" alt="View wallet address" title="View wallet address" class="large-blue-link wallet-address"><%= vout.address_hash %>

<%= Helpers.round_or_not(vout.value) %> <%= Api.get_asset_name(vout.asset) %>

        <% end %>
      <% end %>
      <%= if @transaction.type == "RegisterTransaction" do %>

<%= gettext "Registered" %>

          <a href="<%= address_path(@conn, :index, @transaction.asset.admin)%>" alt="View wallet address" title="View wallet address" class="large-blue-link wallet-address"><%= @transaction.asset.admin %>

<%= Helpers.round_or_not(@transaction.asset.amount) %> <%= Api.get_asset_name(@transaction.txid) %>

      <% end %>

<%= gettext "Time" %>

<%= compare_time_and_get_minutes(@transaction.time) %>

      <%= get_explanation("transaction_time") %>

<%= gettext "Network Fee" %>

<%= @transaction.net_fee %>

      <%= get_explanation("transaction_network_fees") %>

<%= gettext "System Fee" %>

<%= @transaction.sys_fee %>

      <%= get_explanation("transaction_system_fees") %>

<%= gettext "Included in Block" %>

<a href="<%= block_path( @conn, :index, @transaction.block_hash) %>" alt="View transaction" title="View transaction" class="large-blue-link col-4-width"><%= @transaction.block_height %>

<%= gettext "Size" %>

<%= @transaction.size %> <%= gettext "bytes" %>

      <%= get_explanation("transaction_size") %>

  <%= if @transaction.contractt != nil do %>

<%= gettext "Bytecode Script" %>

<%= @transaction.contract %>

  <% end %>

<%= gettext "Bytecode Invocation Script" %>

      <%= get_explanation("bytecode_invocation_script") %>

			<%= for script <- @transaction.scripts do %>

<%= get_inv(script) %>

			<% end %>

<%= gettext "Bytecode Verification Script" %>

      <%= get_explanation("bytecode_verification_script") %>

			<%= for script <- @transaction.scripts do %>

<%= get_ver(script) %>

			<% end %>

  <%= if @transaction.attributes != [] do %>
		<%= for att <- @transaction.attributes do %>

<%= gettext "Atributte: " %> <%=att["usage"]%>

<%= att["data"] %>

		<% end %>
  <% end %>
  <%= if @transaction.script != nil do %>

<%= gettext "Bytecode Script" %>

<%= @transaction.script %>

  <% end %>

<%= gettext "Opcode Invocation Script" %>

      <%= get_explanation("opcode_invocation_script") %>

        <%= for script <- @transaction.scripts do %>
          <%= for operation <- parse_invocation(script) do %>
            <%= operation %>
          <% end %>
        <% end %>

<%= gettext "Opcode Verification Script" %>

      <%= get_explanation("opcode_verification_script") %>

        <%= for script <- @transaction.scripts do %>
          <%= for operation <- parse_verification(script) do %>
            <%= operation %>
          <% end %>
        <% end %>

  <%= if @transaction.attributes != [] do %>
		<%= for att <- @transaction.attributes do %>

<%= gettext "Opcode Attribute:" %> <%=att["usage"]%>

<%= Disassembler.parse_script(att["data"]) %>

		<% end %>
  <% end %>
  <%= if @transaction.script != nil do %>

<%= gettext "Opcode Script" %>

<%= Disassembler.parse_script(@transaction.script) %>

  <% end %>


Update member count for front page (#374)

Erlang Ecosystem Foundation

Supporting the next generation of advanced, reliable, realtime applications

The Erlang Ecosystem Foundation is a 501(c)(3) not-for-profit organization supported by over 1,000 members who embrace its collaborative Working Group model, and community-building events.

Our members include industry leaders who are dedicated to furthering state of the art for Erlang, Elixir, LFE and other technologies based on the BEAM.

                        Join Now →

Upcoming Events

                        <%= for event <- @events do %>

                                <div style="background-color: <%= event_organizer_color(event.organizer_brand_color) %>; height: 100%; width: 6rem;" class="p-2 p-md-4 mr-4 rounded-left event-card-image-wrapper d-flex align-items-center">
                                    <img src="<%= event_organizer_logo(event.organizer_brand_logo) %>" class="img-fluid d-block mx-auto event-card-list-image" alt="">

                                        <%= link(event.title, to: event.url, class: "text-dark font-weight-bold") %>

<%= event_dates(event.start, event.end) %>

                        <% end %>

                        View All Events →

                    <%= right_svg_hero() do %>

                    <% end %>

Latest news

            <%= render(ErlefWeb.LayoutView, "twitter_feed.html", assigns) %>

        <%= render(ErlefWeb.LayoutView, "news_feed.html", assigns) %>

What does the Erlang Ecosystem Foundation do?

                        In order to meet the needs of the ecosystem, the ErlEF sponsors Working Groups to solve specific challenges faced by users of BEAM technology. Areas of particular interest include documentation, interoperability, and performance.

            <%= render(ErlefWeb.LayoutView, "working_groups.html", assigns) %>

      <% full_url = ErlefWeb.Endpoint.url()  <> Routes.page_path(@conn, :all_calendars) %>
      <% parsed = URI.parse(full_url) %>
      <% webcal = parsed.host <> parsed.path %>

        <a href="webcal://<%= webcal %>">Subscribe to this calendar

        <%= calendar(Routes.page_path(@conn, :all_calendars)) %>

    <%= render(ErlefWeb.LayoutView, "join_us.html", assigns) %>

Erlang Ecosystem Foundation

Supporting the next generation of advanced, reliable, realtime applications

The Erlang Ecosystem Foundation is a 501(c)(3) not-for-profit organization supported by over 750 members who embrace its collaborative Working Group model, and community-building events.

Our members include industry leaders who are dedicated to furthering state of the art for Erlang, Elixir, LFE and other technologies based on the BEAM.

                        Join Now →

Upcoming Events

                        <%= for event <- @events do %>

                                <div style="background-color: <%= event_organizer_color(event.organizer_brand_color) %>; height: 100%; width: 6rem;" class="p-2 p-md-4 mr-4 rounded-left event-card-image-wrapper d-flex align-items-center">
                                    <img src="<%= event_organizer_logo(event.organizer_brand_logo) %>" class="img-fluid d-block mx-auto event-card-list-image" alt="">

                                        <%= link(event.title, to: event.url, class: "text-dark font-weight-bold") %>

<%= event_dates(event.start, event.end) %>

                        <% end %>

                        View All Events →

                    <%= right_svg_hero() do %>

                    <% end %>

Latest news

            <%= render(ErlefWeb.LayoutView, "twitter_feed.html", assigns) %>

        <%= render(ErlefWeb.LayoutView, "news_feed.html", assigns) %>

What does the Erlang Ecosystem Foundation do?

                        In order to meet the needs of the ecosystem, the ErlEF sponsors Working Groups to solve specific challenges faced by users of BEAM technology. Areas of particular interest include documentation, interoperability, and performance.

            <%= render(ErlefWeb.LayoutView, "working_groups.html", assigns) %>

      <% full_url = ErlefWeb.Endpoint.url()  <> Routes.page_path(@conn, :all_calendars) %>
      <% parsed = URI.parse(full_url) %>
      <% webcal = parsed.host <> parsed.path %>

        <a href="webcal://<%= webcal %>">Subscribe to this calendar

        <%= calendar(Routes.page_path(@conn, :all_calendars)) %>

    <%= render(ErlefWeb.LayoutView, "join_us.html", assigns) %>


Comment color gallerywalk

Comment color gallerywalk

    <%= form_for @conn, commentstream_path(@conn, :submit), [name: :search],
    fn _ -> %>

      <%= raw ParamSession.form_session @conn %>
      <input type='hidden' name='f[resourcetype]' value='<%= @comments.resourcetype %>'>
      <input type='hidden' name='f[identifier]' value='<%= @comments.identifier %>'>
      <fieldset>

Comments

        <%= if @comments.comments && !Enum.empty?(@comments.comments) do %>
          <%= for comment <- Enum.reverse(@comments.comments) do %>

<%= comment["text"] %>
              (<%= comment["nick"] %>)

          <% end %>
        <% end %>

        Add new comment

          <textarea id="comment_area" name='f[comment]'></textarea>

Submit comment

        </fieldset>
      <% end %>


Separate data generation and drawing the plots

<!DOCTYPE html>

    <meta http-equiv="content-type" content="text/html; charset=utf8">

Comparison

Data Table

              Name
              Iterations per Second
              Average
              Deviation
              median

            <%= for {name, statistics} <- suite.statistics do %>

                <%= name %>
                <%= statistics.ips %>
                <%= statistics.average %>
                <%= statistics.std_dev_ratio %>%
                <%= statistics.median %>

            <% end %>

Iterations per Second

Runtime Box Plot

    <%= for {name, _} <- suite.run_times do %>

 <%= name %>

 Run time Histogram

          <div class="sorted-run-times" data-job-name="<%= name %>">

 Raw run times

          <div class="raw-run-times" data-job-name="<%= name %>">

    <% end %>


Fix control template.

Fix control template.

Package: <%= sanitized_name %>
Version: <%= version %>
License: <%= licenses %>
Vendor: <%= vendor %>
Architecture: <%= arch %>
Maintainer: <%= maintainers %>
Installed-Size: <%= installed_size %>
Depends: <%= external_dependencies %>
Priority: extra
Section: misc
Homepage: <%= homepage %>
Description: Automatically packaged by exrm_deb
  <%= version %>
  <%= description %>

Package: <%= sanitized_name %>
Version: <%= version %>
License: <%= licenses %>
Vendor: <%= vendor %>
Architecture: <%= arch %>
Maintainer: <%= maintainers %>
Installed-Size: <%= installed_size %>
<%= if external_dependencies do %>Depends: <%= external_dependencies %><% end %>
Priority: extra
Section: misc
Homepage: <%= homepage %>
Description: <%= description %>
  <%= version %>
 .
 Automatically packaged by exrm_deb


Improve ES localization

Improve ES localization

        Conoces las reglas, ¿verdad?

Busque pares de cartas dándoles vuelta en turnos, de 2 en 2. Si encuentra una coincidencia, obtiene un punto y puede dar vuelta a 2 cartas más. Quien encuentre más gana.

    <form class="game-option option-four" method=post action="/<%= locale() %>/games">

Jugar solo

            ¡Juega solo para mejorar tu precisión!

            <input type="hidden" name="_csrf_token" value="<%= get_csrf_token() %>">
            <input type="hidden" name="game[theme]" value="eighties">
            <input type="hidden" name="game[board_size]" value="6">
            <input type="hidden" name="game[players_number]" value="1">
            <input type="hidden" name="game[visibility]" value="private">

          <button type="submit" class="btn btn-option-go btn-info">Iniciar un juego en solitario</button>

    </form>

    <form class="game-option option-one" method=post action="/<%= locale() %>/games/random">
      <input type="hidden" name="_csrf_token" value="<%= get_csrf_token() %>">

Jugar con cualquiera

            ¡Alguien puede estar esperando que te unas ahora mismo!

          <button type="submit" class="btn btn-option-go btn-primary">Join random player</button>

    </form>

    <form class="game-option option-two" method=post action="/<%= locale() %>/games">

Jugar con un(a) amigo(-a)

            ¡Simplemente envíe un enlace a su amigo(-a) online para comenzar!

            <input type="hidden" name="_csrf_token" value="<%= get_csrf_token() %>">
            <input type="hidden" name="game[theme]" value="eighties">
            <input type="hidden" name="game[board_size]" value="6">
            <input type="hidden" name="game[players_number]" value="2">
            <input type="hidden" name="game[visibility]" value="private">

          <button type="submit" class="btn btn-option-go btn-success">Iniciar juego de 2 jugadores</button>

    </form>

    <form class="game-option option-three" method=post action="/<%= locale() %>/games">

Juega localmente

            ¡Juega con tu amigo(-a) en el mismo dispositivo!

            <input type="hidden" name="_csrf_token" value="<%= get_csrf_token() %>">
            <input type="hidden" name="game[theme]" value="eighties">
            <input type="hidden" name="game[board_size]" value="6">
            <input type="hidden" name="game[players_number]" value="2">
            <input type="hidden" name="game[visibility]" value="local">

          <button type="submit" class="btn btn-option-go btn-warning">Iniciar juego local</button>

    </form>

       Mas opciones

Iniciar un juego personalizado

  <div class="elm-game-selector" data-themes='<%= raw @themes %>' data-csrf='<%= get_csrf_token() %>'>

        Conoces las reglas, ¿verdad?

Busque pares de cartas dándoles vuelta en turnos, de 2 en 2. Si encuentra una coincidencia, obtiene un punto y puede dar vuelta a 2 cartas más. Quien encuentre más gana.

    <form class="game-option option-four" method=post action="/<%= locale() %>/games">

Jugar solo

            ¡Juega solo para mejorar tu precisión!

            <input type="hidden" name="_csrf_token" value="<%= get_csrf_token() %>">
            <input type="hidden" name="game[theme]" value="eighties">
            <input type="hidden" name="game[board_size]" value="6">
            <input type="hidden" name="game[players_number]" value="1">
            <input type="hidden" name="game[visibility]" value="private">

          <button type="submit" class="btn btn-option-go btn-info">Start solo game</button>

    </form>

    <form class="game-option option-one" method=post action="/<%= locale() %>/games/random">
      <input type="hidden" name="_csrf_token" value="<%= get_csrf_token() %>">

Jugar con cualquiera

            ¡Alguien puede estar esperando que te unas ahora mismo!

          <button type="submit" class="btn btn-option-go btn-primary">Join random player</button>

    </form>

    <form class="game-option option-two" method=post action="/<%= locale() %>/games">

Jugar con un(a) amigo(-a)

            ¡Simplemente envíe un enlace a su amigo(-a) online para comenzar!

            <input type="hidden" name="_csrf_token" value="<%= get_csrf_token() %>">
            <input type="hidden" name="game[theme]" value="eighties">
            <input type="hidden" name="game[board_size]" value="6">
            <input type="hidden" name="game[players_number]" value="2">
            <input type="hidden" name="game[visibility]" value="private">

          <button type="submit" class="btn btn-option-go btn-success">Start 2-player game</button>

    </form>

    <form class="game-option option-three" method=post action="/<%= locale() %>/games">

Juega localmente

            ¡Juega con tu amigo(-a) en el mismo dispositivo!

            <input type="hidden" name="_csrf_token" value="<%= get_csrf_token() %>">
            <input type="hidden" name="game[theme]" value="eighties">
            <input type="hidden" name="game[board_size]" value="6">
            <input type="hidden" name="game[players_number]" value="2">
            <input type="hidden" name="game[visibility]" value="local">

          <button type="submit" class="btn btn-option-go btn-warning">Start local game</button>

    </form>

       Mas opciones

Iniciar un juego personalizado

  <div class="elm-game-selector" data-themes='<%= raw @themes %>' data-csrf='<%= get_csrf_token() %>'>


Always reset timeout

Always reset timeout

<!DOCTYPE html>
<html>
  <head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="/static/d3.v3.min.js" language="JavaScript"></script>
    <script src="/static/liquidFillGauge.js" language="JavaScript"></script>
    <script src="/static/jquery-1.12.3.min.js" language="JavaScript"></script>
    <style>
        body {
          background-color: black;
        }

        .liquidFillGaugeText { font-family: Helvetica; font-weight: bold; }
    </style>
   </head>
  <body>

    <div style="padding-top: 250px">

      <!-- cpus -->
      <svg id="fillgauge1" width="33%" height="400"></svg>

      <!-- mem -->
      <svg id="fillgauge2" width="33%" height="400"></svg>

      <!-- disk -->
      <svg id="fillgauge3" width="33%" height="400"></svg>

  </div>

    <script language="JavaScript">

      var config1 = liquidFillGaugeDefaultSettings();
      config1.circleColor = "#c33";
      config1.circleFillGap = 0.08;
      config1.circleThickness = 0.08;
      config1.textColor = "#c33";
      config1.waveAnimateTime = 5000;
      config1.waveColor = "#c33";
      config1.waveCount = 1;
      config1.waveTextColor = "#fcc";
      var gauge1 = loadLiquidFillGauge("fillgauge1", 0, config1);

      var config2 = liquidFillGaugeDefaultSettings();
      config2.circleColor = "#3c3";
      config2.circleFillGap = 0.08;
      config2.circleThickness = 0.08;
      config2.textColor = "#3c3";
      config2.waveAnimateTime = 5000;
      config2.waveColor = "#3c3";
      config2.waveCount = 1;
      config2.waveTextColor = "#cfc";
      var gauge2 = loadLiquidFillGauge("fillgauge2", 0, config2);

      var config3 = liquidFillGaugeDefaultSettings();
      config3.circleColor = "#33c";
      config3.circleFillGap = 0.08;
      config3.circleThickness = 0.08;
      config3.textColor = "#33c";
      config3.waveAnimateTime = 5000;
      config3.waveColor = "#33c";
      config3.waveCount = 1;
      config3.waveTextColor = "#ccf";
      var gauge3 = loadLiquidFillGauge("fillgauge3", 0, config3);

      (function worker() {
          $.get('/events', function(data) {

          $.each(data, function(index, value) {
              if (value.service == 'mesos master/cpus_percent') {
                  gauge1.update((value.metric * 100).toFixed(0));
              } else if (value.service == 'mesos master/mem_percent') {
                  gauge2.update((value.metric * 100).toFixed(0));
              } else if (value.service == 'mesos master/disk_percent') {
                  gauge3.update((value.metric * 100).toFixed(0));
              }
          });

      }).always(function() {
          setTimeout(worker, 5000);
      })})();

    </script>
  </body>
</html>

<!DOCTYPE html>
<html>
  <head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="/static/d3.v3.min.js" language="JavaScript"></script>
    <script src="/static/liquidFillGauge.js" language="JavaScript"></script>
    <script src="/static/jquery-1.12.3.min.js" language="JavaScript"></script>
    <style>
        body {
          background-color: black;
        }

        .liquidFillGaugeText { font-family: Helvetica; font-weight: bold; }
    </style>
   </head>
  <body>

    <div style="padding-top: 250px">

      <!-- cpus -->
      <svg id="fillgauge1" width="33%" height="400"></svg>

      <!-- mem -->
      <svg id="fillgauge2" width="33%" height="400"></svg>

      <!-- disk -->
      <svg id="fillgauge3" width="33%" height="400"></svg>

  </div>

    <script language="JavaScript">

      var config1 = liquidFillGaugeDefaultSettings();
      config1.circleColor = "#c33";
      config1.circleFillGap = 0.08;
      config1.circleThickness = 0.08;
      config1.textColor = "#c33";
      config1.waveAnimateTime = 5000;
      config1.waveColor = "#c33";
      config1.waveCount = 1;
      config1.waveTextColor = "#fcc";
      var gauge1 = loadLiquidFillGauge("fillgauge1", 0, config1);

      var config2 = liquidFillGaugeDefaultSettings();
      config2.circleColor = "#3c3";
      config2.circleFillGap = 0.08;
      config2.circleThickness = 0.08;
      config2.textColor = "#3c3";
      config2.waveAnimateTime = 5000;
      config2.waveColor = "#3c3";
      config2.waveCount = 1;
      config2.waveTextColor = "#cfc";
      var gauge2 = loadLiquidFillGauge("fillgauge2", 0, config2);

      var config3 = liquidFillGaugeDefaultSettings();
      config3.circleColor = "#33c";
      config3.circleFillGap = 0.08;
      config3.circleThickness = 0.08;
      config3.textColor = "#33c";
      config3.waveAnimateTime = 5000;
      config3.waveColor = "#33c";
      config3.waveCount = 1;
      config3.waveTextColor = "#ccf";
      var gauge3 = loadLiquidFillGauge("fillgauge3", 0, config3);

      (function worker() {
          $.get('/events', function(data) {

          $.each(data, function(index, value) {
              if (value.service == 'mesos master/cpus_percent') {
                  gauge1.update((value.metric * 100).toFixed(0));
              } else if (value.service == 'mesos master/mem_percent') {
                  gauge2.update((value.metric * 100).toFixed(0));
              } else if (value.service == 'mesos master/disk_percent') {
                  gauge3.update((value.metric * 100).toFixed(0));
              }
          });

          setTimeout(worker, 5000);
      })})();

    </script>
  </body>
</html>


firefox wants different start for javascript links :-)

  <button type="button"
          class="navbar-toggle collapsed"
          data-toggle="collapse"
          data-target="#navbar"
          aria-expanded="false"
          aria-controls="navbar">
    Toggle navigation

  </button>

  Panoptikum.io

<%= link "Home", to: category_frontend_path(@conn, :index) %>

About

Blog

<%= link "Podcasters", to: persona_frontend_path(@conn, :index) %>

<%= link "Users", to: user_frontend_path(@conn, :index) %>

<%= link ["Random ", fa_icon("podcast")], to: recommendation_frontend_path(@conn, :random) %>

    <%= if @current_user do %>
      <input type="checkbox" id="checkbox_toggle" class="drop">

        @<%= @current_user.username %>

<%= link "My Profile",  to: user_frontend_path(@conn, :my_profile)%>

<%= link "Change Password", to: user_frontend_path(@conn, :edit_password)%>

<%= link "My Messages", to: user_frontend_path(@conn, :my_messages)%>

<%= link "My Podcasts", to: user_frontend_path(@conn, :my_podcasts)%>

<%= link "My Recommendations", to: recommendation_frontend_path(@conn, :my_recommendations)%>

<%= link "My OPMLs",    to: opml_frontend_path(@conn, :index)%>

          @<%= @current_user.username %>

<%= link "My Profile",  to: user_frontend_path(@conn, :my_profile)%>

<%= link "Change Password", to: user_frontend_path(@conn, :edit_password)%>

<%= link "My Messages", to: user_frontend_path(@conn, :my_messages)%>

<%= link "My Podcasts", to: user_frontend_path(@conn, :my_podcasts)%>

<%= link "My Recommendations", to: recommendation_frontend_path(@conn, :my_recommendations)%>

<%= link "My OPMLs",    to: opml_frontend_path(@conn, :index)%>

      <%= if @current_user.admin do %>

            Admin

<%= link "Categories", to: category_path(@conn, :index) %>

<%= link "Podcasts", to: podcast_path(@conn, :index) %>

<%= link "Feeds", to: feed_path(@conn, :index) %>

<%= link "Feed Backlog", to: feed_backlog_path(@conn, :index) %>

<%= link "OPMLs", to: opml_path(@conn, :index) %>

<%= link "Users", to: user_path(@conn, :index) %>

<%= link "Messages", to: message_path(@conn, :index) %>

<%= link "Likes", to: like_path(@conn, :index) %>

<%= link "Follows", to: follow_path(@conn, :index) %>

<%= link "Subscriptions", to: subscription_path(@conn, :index) %>

<%= link "Recommendations", to: recommendation_path(@conn, :index) %>

<%= link "Personas", to: persona_path(@conn, :index) %>

<%= link "Gigs", to: gig_path(@conn, :index) %>

<%= link "Engagements", to: engagement_path(@conn, :index) %>

<%= link "Manifestations", to: manifestation_path(@conn, :index) %>

<%= link "Delegations", to: delegation_path(@conn, :index) %>

<%= link "Languages", to: language_path(@conn, :index) %>

      <% end %>

          <%= link "Log out", to: session_path(@conn, :delete, @current_user),
                              method: "delete" %>

    <% else %>

<%= fa_icon("bus") %> Tour

<%= link "Register", to: user_frontend_path(@conn, :new) %>

<%= link "Log in", to: session_path(@conn, :new) %>

    <% end %>


fix: in_reply_to might be nil or an empty string

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

<%= @note.title %>

<%= link(to: page_path(@conn, :about), rel: "me") do %><%= unless assigns[:atom] do %><img src="<%= static_path(@conn, "/images/" <> @note.author.avatar) %>" class="avatar u-photo" alt=""> <% end %><%= @note.author.name %><% end %>,
        <time class="dt-published" datetime="<%= @note |> Wwwtech.Note.inserted_at_timex |> DateFormat.format!("%FT%T%:z", :strftime) %>"><%= link Wwwtech.LayoutView.time_ago_in_words(@note |> Wwwtech.Note.inserted_at_timex), to: note_path(@conn, :show, @note), class: "u-url" %></time>

  <% end %>

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

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

  <% end %>

    <%= {:safe, Wwwtech.Note.to_html(@note)} %>
    <%= if assigns[:home] == nil do %>
<%= link 'Perma-Link', to: note_path(@conn, :show, @note) %>
<% end %>

  <%= if action_name(@conn) == :show and @note.posse == true do %>

      <%= link "Twitter POSSE", to: "https://www.brid.gy/publish/twitter" %>

  <% end %>

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

<%= @note.title %>

<%= link(to: page_path(@conn, :about), rel: "me") do %><%= unless assigns[:atom] do %><img src="<%= static_path(@conn, "/images/" <> @note.author.avatar) %>" class="avatar u-photo" alt=""> <% end %><%= @note.author.name %><% end %>,
        <time class="dt-published" datetime="<%= @note |> Wwwtech.Note.inserted_at_timex |> DateFormat.format!("%FT%T%:z", :strftime) %>"><%= link Wwwtech.LayoutView.time_ago_in_words(@note |> Wwwtech.Note.inserted_at_timex), to: note_path(@conn, :show, @note), class: "u-url" %></time>

  <% end %>

  <%= if @note.in_reply_to != "" do %>

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

  <% end %>

    <%= {:safe, Wwwtech.Note.to_html(@note)} %>
    <%= if assigns[:home] == nil do %>
<%= link 'Perma-Link', to: note_path(@conn, :show, @note) %>
<% end %>

  <%= if action_name(@conn) == :show and @note.posse == true do %>

      <%= link "Twitter POSSE", to: "https://www.brid.gy/publish/twitter" %>

  <% end %>


fixed issue with logged in user now display if theme_selector disabled

    ExA

    ExAdmin

      Toggle navigation

        <%= if use_authentication?(@conn) do %>

              <%= current_user_name(@conn) %>

                <%= Phoenix.HTML.Link.link "Logout", to: session_path(@conn, :destroy), "data-method": "delete", "data-csrf": Plug.CSRFProtection.get_csrf_token, rel: "nofollow" %>

        <% end %>
        <%= if ExAdmin.Theme.AdminLte2.Layout.theme_selector? do %>

              Themes

              <%= ExAdmin.Theme.AdminLte2.Layout.theme_selector %>

        <% end %>

RESOURCES

      <%#
 Dashboard
 %>
      <%= if Application.get_env(:ex_admin, :nest_resources, false) do %>

           Resources

            <%= ExAdmin.Navigation.nav_view(@conn) %>

      <% else %>
        <%= ExAdmin.Navigation.nav_view(@conn) %>
      <% end %>

      <% actions = ExAdmin.get_title_actions(@conn) %>
      <%= if any_actions?(actions) do %>

ACTIONS

        <%= for {action, opts} <- actions do %>

            <% opts = build_menu_icon(opts) %>
            <%= build_link(action, opts) %>

        <% end %>
      <% end %>
      <%= build_scopes @conn, @scope_counts %>

    ExA

    ExAdmin

      Toggle navigation

    <%= if ExAdmin.Theme.AdminLte2.Layout.theme_selector? do %>

        <%= if use_authentication?(@conn) do %>

              <%= current_user_name(@conn) %>

                <%= Phoenix.HTML.Link.link "Logout", to: session_path(@conn, :destroy), "data-method": "delete", "data-csrf": Plug.CSRFProtection.get_csrf_token, rel: "nofollow" %>

        <% end %>

            Themes

          <%= ExAdmin.Theme.AdminLte2.Layout.theme_selector %>

    <% end %>

RESOURCES

      <%#
 Dashboard
 %>
      <%= if Application.get_env(:ex_admin, :nest_resources, false) do %>

           Resources

            <%= ExAdmin.Navigation.nav_view(@conn) %>

      <% else %>
        <%= ExAdmin.Navigation.nav_view(@conn) %>
      <% end %>

      <% actions = ExAdmin.get_title_actions(@conn) %>
      <%= if any_actions?(actions) do %>

ACTIONS

        <%= for {action, opts} <- actions do %>

            <% opts = build_menu_icon(opts) %>
            <%= build_link(action, opts) %>

        <% end %>
      <% end %>
      <%= build_scopes @conn, @scope_counts %>


Improve texts

Improve texts

<%= gettext("Hire a great Elixir/Erlang developer") %>

<%= raw gettext("Elixir/Erlang community is in a very vibrant moment. Start looking for your next hiring in the right place.") %>

<%= gettext("How does this works?") %>

<%= raw gettext("Once you submit your offer, we will review it to avoid SPAM or dead links and, if everything is correct, we will publish it as son as possible!") %>

<%= raw gettext("Publishing an offer on ElixirJobs is free and will be also posted to our Twitter account, so feel free of %{follow_link} and retweet your offer when published!",
  follow_link: "#{gettext("follow us")}") %>

<%= render "_form.html",
  changeset: @changeset,
  action: offer_path(@conn, :create),
  conn: @conn,
  css_class: "offer-new" %>


Favicon fix

Favicon fix

<!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="csrf-token" content="<%= get_csrf_token() %>">

  <link rel="icon" type="image/x-icon" href="<%= static_path(@conn, "/favicon.ico") %>" />

  <link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel='stylesheet' type='text/css'>

  <title>Podbaby<%= if assigns[:page_title] do %> - <%= assigns[:page_title] %><% end %></title>

  <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

    <button class="menu-icon" type="button" data-toggle></button>

Menu

<a id="index-link" href="<%= if assigns[:user] do subscriptions_path(@conn, :index) else page_path(@conn, :index) end %>"> Podbaby

        <%= if assigns[:user] do %>
        <%= active_link(@conn, raw(" My podcasts"), to: subscriptions_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw(" Bookmarks"), to: bookmarks_path(@conn, :index), wrap_tag: :li) %>
        <% end %>
        <%= active_link(@conn, raw(" New releases"), to: episodes_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw(" Discover"), to: podcasts_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw(" Browse"), to: categories_path(@conn, :index), wrap_tag: :li) %>
        <%= if assigns[:is_admin] do %>
        <%= active_link(@conn, raw(" Add new"), to: admin_podcasts_path(@conn, :new), wrap_tag: :li) %>
        <% end %>

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

          <%= assigns[:user].name %>

<%= link(raw(" Change email"), to: auth_path(@conn, :change_email)) %>

<%= link(raw(" Change password"), to: auth_path(@conn, :change_password)) %>

<%= link(raw(" Sign out"), to: auth_path(@conn, :logout)) %>

<%= link(raw(" Change email"), to: auth_path(@conn, :change_email)) %>

<%= link(raw(" Change password"), to: auth_path(@conn, :change_password)) %>

<%= link(raw(" Sign out"), to: auth_path(@conn, :logout)) %>

      <% else %>

        <%= active_link(@conn, raw(" Login"), to: login_url(@conn), wrap_tag: :li, active: ~r/\/login*/) %>
        <%= active_link(@conn, raw(" Signup"), to: auth_path(@conn, :signup,  next: @conn.request_path), wrap_tag: :li, active: ~r/\/signup*/) %>

      <% end %>

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

<%= msg %>

    <% end %>
    <%= if msg = get_flash(@conn, :warning) do %>

<%= msg %>

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

<%= msg %>

    <% end %>
    <%= if msg = get_flash(@conn, :success) do %>

<%= msg %>

    <% end %>

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

<!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="csrf-token" content="<%= get_csrf_token() %>">

  <link rel="icon" type="image/x-icon" href="<%= static_path(@conn, "favicon.ico") %>" />

  <link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel='stylesheet' type='text/css'>

  <title>Podbaby<%= if assigns[:page_title] do %> - <%= assigns[:page_title] %><% end %></title>

  <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

    <button class="menu-icon" type="button" data-toggle></button>

Menu

<a id="index-link" href="<%= if assigns[:user] do subscriptions_path(@conn, :index) else page_path(@conn, :index) end %>"> Podbaby

        <%= if assigns[:user] do %>
        <%= active_link(@conn, raw(" My podcasts"), to: subscriptions_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw(" Bookmarks"), to: bookmarks_path(@conn, :index), wrap_tag: :li) %>
        <% end %>
        <%= active_link(@conn, raw(" New releases"), to: episodes_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw(" Discover"), to: podcasts_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw(" Browse"), to: categories_path(@conn, :index), wrap_tag: :li) %>
        <%= if assigns[:is_admin] do %>
        <%= active_link(@conn, raw(" Add new"), to: admin_podcasts_path(@conn, :new), wrap_tag: :li) %>
        <% end %>

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

          <%= assigns[:user].name %>

<%= link(raw(" Change email"), to: auth_path(@conn, :change_email)) %>

<%= link(raw(" Change password"), to: auth_path(@conn, :change_password)) %>

<%= link(raw(" Sign out"), to: auth_path(@conn, :logout)) %>

<%= link(raw(" Change email"), to: auth_path(@conn, :change_email)) %>

<%= link(raw(" Change password"), to: auth_path(@conn, :change_password)) %>

<%= link(raw(" Sign out"), to: auth_path(@conn, :logout)) %>

      <% else %>

        <%= active_link(@conn, raw(" Login"), to: login_url(@conn), wrap_tag: :li, active: ~r/\/login*/) %>
        <%= active_link(@conn, raw(" Signup"), to: auth_path(@conn, :signup,  next: @conn.request_path), wrap_tag: :li, active: ~r/\/signup*/) %>

      <% end %>

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

<%= msg %>

    <% end %>
    <%= if msg = get_flash(@conn, :warning) do %>

<%= msg %>

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

<%= msg %>

    <% end %>
    <%= if msg = get_flash(@conn, :success) do %>

<%= msg %>

    <% end %>

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


event(s)

event(s)

<div style="padding: 40px;">
  <%= raw(@content) %>
</div>

<script>

  function showHiddenContent (ev) {
    var el = document.querySelector('#vol-events');
    if (el.style.display == 'hidden') {
      el.style.display = 'block';
    } else {
      el.style.display = 'none';
    }
  }

  var button = document.querySelector('#show-events');

  if (button) {
    button.onlick = showHiddenContent;
  }

</script>

<div style="padding: 40px;">
  <%= raw(@content) %>
</div>

<script>

  function showHiddenContent (ev) {
    var el = document.querySelector('#vol-event');
    if (el.style.display == 'hidden') {
      el.style.display = 'block';
    } else {
      el.style.display = 'none';
    }
  }

  var button = document.querySelector('#show-events');

  if (button) {
    button.onlick = showHiddenContent;
  }

</script>


Add media control icons

Add media control icons

<%= link("■", to: "#", data: [js: "game.stop"]) %>
<%= link("▮◀", to: "#", data: [js: "game.prev"]) %>
<%= link("▮▮", to: "#", data: [js: "game.pause"]) %>
<%= link("▶", to: "#", data: [js: "game.start"]) %>
<%= link("▶▮", to: "#", data: [js: "game.next"]) %>

<%= link("Start game", to: "#", data: [js: "game.start"]) %>


updates the form

updates the form

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

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

  <% end %>

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

    <%= label f, :is_private, class: "control-label" %>
    <%= checkbox f, :is_private, class: "form-control" %>
    <%= error_tag f, :is_private %>

    <%= label f, :tags, class: "control-label" %>
    <%= inputs_for f, :tags, class: "form-control" %>
    <%= error_tag f, :tags %>

  <%= inputs_for f, :snippets, fn sn -> %>

      <%= label sn, :filename, class: "control-label" %>
      <%= text_input sn, :filename, class: "form-control" %>
      <%= error_tag sn, :filename %>

      <%= label sn, :language, class: "control-label" %>
      <%= text_input sn, :language, class: "form-control" %>
      <%= error_tag sn, :language %>

      <%= label sn, :body, class: "control-label" %>
      <%= textarea sn, :body, class: "form-control", rows: 6, wrap: "off", cols: 90 %>
      <%= error_tag sn, :body %>

  <% end %>

    <%= 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, :title, class: "control-label" %>
    <%= text_input f, :title, class: "form-control" %>
    <%= error_tag f, :title %>

    <%= label f, :is_private, class: "control-label" %>
    <%= checkbox f, :is_private, class: "form-control" %>
    <%= error_tag f, :is_private %>

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

  <%= inputs_for f, :snippets, fn sn -> %>

      <%= label sn, :filename, class: "control-label" %>
      <%= text_input sn, :filename, class: "form-control" %>
      <%= error_tag sn, :filename %>

      <%= label sn, :language, class: "control-label" %>
      <%= text_input sn, :language, class: "form-control" %>
      <%= error_tag sn, :language %>

      <%= label sn, :body, class: "control-label" %>
      <%= textarea sn, :body, class: "form-control", rows: 6, wrap: "off", cols: 90 %>
      <%= error_tag sn, :body %>

  <% end %>

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

<% end %>


Fix show/edit links to show current_attendance for those nights.

Listing game nights

      Yyyymmdd
      Buy in cents

<%= for game_night <- @game_nights do %>

      <%= game_night.yyyymmdd %>
      <%= game_night.buy_in_cents %>

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

<% end %>

<%= link "New game night", to: game_night_path(@conn, :new) %>

Listing game nights

      Yyyymmdd
      Buy in cents

<%= for game_night <- @game_nights do %>

      <%= game_night.yyyymmdd %>
      <%= game_night.buy_in_cents %>

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

<% end %>

<%= link "New game night", to: game_night_path(@conn, :new) %>


Title adjustment and fonts

Title adjustment and fonts

<!DOCTYPE html>
<html lang="en">
  <head>
    <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="">

    <title>Hello Stranger</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
  </head>

  <body>
    <main role="main">
      <%= render @view_module, @view_template, assigns %>
    </main>

    <script src="//fast.fonts.net/jsapi/38d55e48-4075-4e45-9b94-1601ba6215c1.js"></script>
    <script src="<%= static_path(@conn, "/js/app.js") %>"></script>
  </body>
</html>

<!DOCTYPE html>
<html lang="en">
  <head>
    <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="">

    <title>Hello Stranger!</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
  </head>

  <body>
    <main role="main">
      <%= render @view_module, @view_template, assigns %>
    </main>

    <script src="<%= static_path(@conn, "/js/app.js") %>"></script>
  </body>
</html>


Added font awesome

Added font awesome

<!DOCTYPE html>
<html lang="en">
  <head>
    <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="ricardo@codeloveandboards.com">

    <title>Hello PhoenixToggl!</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600|Ropa+Sans" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
  </head>

  <body>
    <main id="main_wrapper" role="main"></main>
    <script src="<%= static_path(@conn, "/js/app.js") %>"></script>
  </body>
</html>

<!DOCTYPE html>
<html lang="en">
  <head>
    <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="ricardo@codeloveandboards.com">

    <title>Hello PhoenixToggl!</title>
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600|Ropa+Sans" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
  </head>

  <body>
    <main id="main_wrapper" role="main"></main>
    <script src="<%= static_path(@conn, "/js/app.js") %>"></script>
  </body>
</html>


Adding every model to menu

Adding every model to menu

 Lista de Asistencia

 Lista de asistencia

    <%= if @current_user do %>
      Bienvenido a la aplicación de pase de lista automático, usando la locación del usuario.
      Puedes empezar por:

<%= link "Batches", to: batch_path(@conn, :index) %>

<%= link "Venues", to: venue_path(@conn, :index) %>

<%= link "Senseis", to: sensei_path(@conn, :index) %>

<%= link "Cintas", to: belt_path(@conn, :index) %>

<%= link "Usuarios", to: user_path(@conn, :index) %>

    <%= else %>
      <%= render Boilerplate.SessionView, "new.html", conn: @conn %>
    <% end %>

 Lista de Asistencia

 Lista de asistencia

    <%= if @current_user do %>
      Bienvenido a la aplicación de pase de lista automático, usando la locación del usuario.
      Puedes empezar por:

<%= link "Batches", to: batch_path(@conn, :index) %>

    <%= else %>
      <%= render Boilerplate.SessionView, "new.html", conn: @conn %>
    <% end %>