Save real estate.

Save real estate.

<%# header tag begins in parent template %>
  <div class="profile-header<%= if @user.verified, do: " profile-header--verified" %>">

      <img src="<%= Vutuv.Avatar.binary(@user, :medium) %>">

        <%= full_name(@user) %>
        <%= if !@user.verified and admin_visitor?(@conn) do %>
          <%= button to: admin_user_path(@conn, :update, user_id: @user.id), class: "button button--icon navigation__icon", form: [class: "button button--icon"], method: "post" do %>
            <i title="<%= gettext("Verify") %>" class="icon icon--lock">
          <% end %>
        <% end %>
        <%= if same_user?(@user, @current_user) do %>
        <%= link to: user_path(@conn, :edit, @user), class: "profile-header__edit button button--icon button--small" do %>

        <% end %>
        <% end %>

        <%= work_information_string(@user, 50) %>

    <%= if @user.verified do %>
      Verified profile
    <% end %>

        <%= if(@follower_count>0) do %>

<%= short_name(@user) %> <%= gettext "has" %><%= @follower_count %> <%= gettext "followers" %>

        <% end %>
        <%= if is_visitor?(@conn, @current_user) do %>
          <%= if user_follows_user?(@current_user, @user) do %>
            <%= button to: connection_path(@conn, :delete, user_follows_user?(@current_user, @user)), method: :delete , class: "button button-link button--unfollow", form: [class: "button--unfollow"] do %>
               Unfollow
            <% end %>
          <%= else %>
            <%= button to: connection_path(@conn, :create, connection: %{follower_id: @current_user_id, followee_id: @user.id}), method: :post, class: "button button-link", form: [class: "button--slim"] do %>
               Follow
            <% end %>
          <% end %>
        <% end %>

<%= render Vutuv.LayoutView, "flash.html", assigns %>

  <%= gettext "Users" %> / <%= full_name @user %>

  <%= if @display_welcome_message do %>
    <%= if same_user?(@user, @current_user) do %>
      <%= if Enum.count(@user_skills) == 0 do %>

<%= gettext "Your New vutuv Profile Page" %>

            <%= gettext "Please take a couple of minutes to add information that might be interesting for your future followers. Why don't you start with your skills and work experiences?" %>

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

  <%= if Enum.count(@user_skills) > 0 or same_user?(@user, @current_user) do %>

<%= gettext "Skills" %>

    <%= if Enum.count(@user_skills) > 0 do %>
    <%= render Vutuv.UserSkillView, "card_list.html", assigns %>
    <% end %>

    <%= if same_user?(@user, @current_user) do %>
      <% #Form for easy skill entry %>
      <%= if Enum.count(@user_skills) == 0 do %>
        <%= form_for @conn, user_path(@conn, :skills_create, @user), [as: :skills, class: "editform"], fn f -> %>
          <div class="editform__field<%= if error_tag(f, :name), do: " editform__field--error"%>">
            <%= label f, :skills, gettext("Enter comma separated skills here. Max length per skill: 45 characters") %>
            <%= text_input f, :skills, placeholder: gettext("PHP, JavaScript, Tap Dancing, Origami, Recruiting"), autofocus: true %>
            <%= error_tag f, :skills %>

            <%= submit gettext("Add"), class: "button button--full" %>

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

    <%= if Enum.count(@user_skills) > 0 && (same_user?(@user, @current_user) || @total_user_skills > 10)do %>

        <%= if same_user?(@user, @current_user) do %>
          <%= link gettext("Add"), to: user_user_skill_path(@conn, :new, @current_user) %>
        <% end %>
        <%= if same_user?(@user, @current_user) and @total_user_skills > 10 do %> | <% end %>
        <%= if @total_user_skills > 10 do %>
          <%= link gettext("View All"), to: user_user_skill_path(@conn, :index, @user)%>
        <% end %>

    <% end %>

  <% end %>

    <%= render Vutuv.SharedView, "_ad.html" %>

    <%= if(Enum.count(@emails) > 0 or same_user?(@user, @current_user)) do %>

      <%= if same_user?(@user, @current_user) do %>
      <%= link to: user_email_path(@conn, :index, @user), class: "card__edit button button--icon button--small" do %>

      <% end %>
      <% end %>

<%= gettext "Contact" %>

      <%= if(Enum.count(@emails) > 0) do %>

<%= if (Enum.count(@emails) == 1), do: gettext("Email"), else: gettext("Emails") %>

        <%= for email <- @emails do %>

<a href="mailto:<%= email.value %>"><%= email.value %>

        <% end %>

      <% end %>

        <%= if same_user?(@user, @current_user) do %>
          <%= link gettext("Add"), to: user_email_path(@conn, :new, @current_user) %>
        <% end %>

    <% end %>

    <%= if(@user.headline || @user.birthdate || same_user?(@user, @current_user)) do %>

        <%= if same_user?(@user, @current_user) do %>
        <%= link to: user_path(@conn, :edit, @user), class: "card__edit button button--icon button--small" do %>

        <% end %>
        <% end %>

<%= gettext "General Info" %>

        <%= if @user.headline || same_user?(@user, @current_user) do %>

<%= @user.headline %>

        <% end %>

          <%= if(@user.gender != "other" && @user.gender) do %>

<%= gettext "Gender" %>

<%= Vutuv.User.gender_gettext(@user.gender) %>

          <% end %>
          <%= if(@user.birthdate) do %>

<%= gettext "Birthday" %>

<%= format_birthdate(@user) %>

          <% end %>

    <% end %>

    <%= if Enum.count(@user.social_media_accounts) > 0 or same_user?(@user, @current_user) do %>

        <%= if same_user?(@user, @current_user) do %>
        <%= link to: user_social_media_account_path(@conn, :index, @user), class: "card__edit button button--icon button--small" do %>

        <% end %>
        <% end %>

<%= gettext "Social Media" %>

        <%= for account <- @user.social_media_accounts do %>

<%= account.provider %>

<%= Vutuv.SocialMediaAccount.social_media_link account %>

        <% end %>

          <%= if same_user?(@user, @current_user) do %>
            <%= link gettext("Add"), to: user_social_media_account_path(@conn, :new, @current_user) %>
          <% end %>

    <% end %>

<%= gettext "Exports" %>

<%= gettext "Vcard" %>

<%= link gettext("Download"), to: api_user_v_card_path(@conn, :get, @user) %>

  <section class="card half<%= if @follower_count == 0, do: " card--empty" %>">

<%= gettext "Followers" %>

    <%= if(@follower_count > 0) do %>

    <%= render "card_list.html", conn: @conn, users: @user.followers, current_user: @current_user, current_user_id: @current_user_id, work_string_length: 20 %>

    <% else %>

<%= gettext "No Followers yet!" %>

    <% end %>
    <%= if(@follower_count > 3) do %>
      <%= link "#{@follower_count-3} #{gettext "More"}", to: user_follower_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>

<%= gettext "Following" %>

    <%= if(@followee_count > 0) do %>

    <%= render "card_list.html", conn: @conn, users: @user.followees, current_user: @current_user, current_user_id: @current_user_id, work_string_length: 20 %>

    <% else %>

<%= gettext "Not following anyone yet!" %>

    <% end %>
    <%= if(@followee_count > 3) do %>
      <%= link "#{@followee_count-3} #{gettext "More"}", to: user_followee_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>

    <%= if @total_jobs > 0 or same_user?(@user, @current_user) do %>

<%= gettext "Experience" %>

    <%= if @total_jobs > 0 do %>
    <%= render Vutuv.WorkExperienceView, "card_list.html", assigns %>

    <% else %>

    <% end %>

      <%= if same_user?(@user, @current_user) do %>
        <%= link gettext("Add"), to: user_work_experience_path(@conn, :new, @current_user) %>
      <% end %>
      <%= if same_user?(@user, @current_user) and @total_jobs > 5 do %> | <% end %>
      <%= if @total_jobs > 5 do %>
        <%= link gettext("View All"), to: user_work_experience_path(@conn, :index, @user) %>
      <% end %>

  <% end %>

  <%= if @total_numbers > 0 or same_user?(@user, @current_user) do %>

<%= gettext "Phone Numbers" %>

    <%= if @total_numbers > 0 do %>
    <%= render Vutuv.PhoneNumberView, "card_list.html", phone_numbers: @user.phone_numbers, user: @user, conn: @conn, current_user: @current_user %>
    <% end %>

      <%= if same_user?(@user, @current_user) do %>
        <%= link gettext("Add"), to: user_phone_number_path(@conn, :new, @current_user) %>
      <% end %>
      <%= if same_user?(@user, @current_user) and @total_numbers > 5 do %> | <% end %>
      <%= if @total_numbers > 5 do %>
        <%= link gettext("View All"), to: user_phone_number_path(@conn, :index, @user) %>
      <% end %>

  <% end %>

  <%= if @total_links > 0 or same_user?(@user, @current_user) do %>

<%= gettext "Links" %>

    <%= if @total_links > 0 do %>
    <%= render Vutuv.UrlView, "card_list.html", urls: @user.urls, user: @user, conn: @conn, current_user: @current_user %>
    <% end %>

      <%= if same_user?(@user, @current_user) do %>
        <%= link gettext("Add"), to: user_url_path(@conn, :new, @current_user) %>
      <% end %>
      <%= if same_user?(@user, @current_user) and @total_links > 5 do %> | <% end %>
      <%= if @total_links > 5 do %>
        <%= link gettext("View All"), to: user_url_path(@conn, :index, @user) %>
      <% end %>

  <% end %>

  <%= if @total_addresses > 0 or same_user?(@user, @current_user) do %>

<%= gettext "Addresses" %>

    <%= if @total_addresses > 0 do %>
    <%= render Vutuv.AddressView, "card_list.html", addresses: @user.addresses, user: @user, conn: @conn, current_user: @current_user %>
    <% end %>

      <%= if same_user?(@user, @current_user) do %>
        <%= link gettext("Add"), to: user_address_path(@conn, :new, @current_user) %>
      <% end %>
      <%= if same_user?(@user, @current_user) and @total_addresses > 5 do %> | <% end %>
      <%= if @total_addresses > 5 do %>
        <%= link gettext("View All"), to: user_address_path(@conn, :index, @user) %>
      <% end %>

  <% end %>

<%# header tag begins in parent template %>
  <div class="profile-header<%= if @user.verified, do: " profile-header--verified" %>">

      <img src="<%= Vutuv.Avatar.binary(@user, :medium) %>">

        <%= full_name(@user) %>
        <%= if !@user.verified and admin_visitor?(@conn) do %>
          <%= button to: admin_user_path(@conn, :update, user_id: @user.id), class: "button button--icon navigation__icon", form: [class: "button button--icon"], method: "post" do %>
            <i title="<%= gettext("Verify") %>" class="icon icon--lock">
          <% end %>
        <% end %>
        <%= if same_user?(@user, @current_user) do %>
        <%= link to: user_path(@conn, :edit, @user), class: "profile-header__edit button button--icon button--small" do %>

        <% end %>
        <% end %>

        <%= work_information_string(@user, 50) %>

    <%= if @user.verified do %>
      Verified profile
    <% end %>

        <%= if(@follower_count>0) do %>

<%= short_name(@user) %> <%= gettext "has" %><%= @follower_count %> <%= gettext "followers" %>

        <% end %>
        <%= if is_visitor?(@conn, @current_user) do %>
          <%= if user_follows_user?(@current_user, @user) do %>
            <%= button to: connection_path(@conn, :delete, user_follows_user?(@current_user, @user)), method: :delete , class: "button button-link button--unfollow", form: [class: "button--unfollow"] do %>
               Unfollow
            <% end %>
          <%= else %>
            <%= button to: connection_path(@conn, :create, connection: %{follower_id: @current_user_id, followee_id: @user.id}), method: :post, class: "button button-link", form: [class: "button--slim"] do %>
               Follow
            <% end %>
          <% end %>
        <% end %>

<%= render Vutuv.LayoutView, "flash.html", assigns %>

  <%= gettext "Users" %> / <%= full_name @user %>

  <%= if @display_welcome_message do %>
    <%= if same_user?(@user, @current_user) do %>
      <%= if Enum.count(@user_skills) == 0 do %>

<%= gettext "Your New vutuv Profile Page" %>

            <%= gettext "Please take a couple of minutes to add information that might be interesting for your future followers. Why don't you start with your skills and work experiences?" %>

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

  <%= if Enum.count(@user_skills) > 0 or same_user?(@user, @current_user) do %>

<%= gettext "Skills" %>

    <%= if Enum.count(@user_skills) > 0 do %>
    <%= render Vutuv.UserSkillView, "card_list.html", assigns %>
    <% end %>

    <%= if same_user?(@user, @current_user) do %>
      <% #Form for easy skill entry %>
      <%= if Enum.count(@user_skills) == 0 do %>
        <%= form_for @conn, user_path(@conn, :skills_create, @user), [as: :skills, class: "editform"], fn f -> %>
          <div class="editform__field<%= if error_tag(f, :name), do: " editform__field--error"%>">
            <%= label f, :skills, gettext("Enter comma separated skills here. Max length per skill: 45 characters") %>
            <%= text_input f, :skills, placeholder: gettext("PHP, JavaScript, Tap Dancing, Origami, Recruiting"), autofocus: true %>
            <%= error_tag f, :skills %>

            <%= submit gettext("Add"), class: "button button--full" %>

        <% end %>
      <% end %>
    <% end %>
    <%= if Enum.count(@user_skills) > 0 do %>

        <%= if same_user?(@user, @current_user) do %>
          <%= link gettext("Add"), to: user_user_skill_path(@conn, :new, @current_user) %>
        <% end %>
        <%= if same_user?(@user, @current_user) and @total_user_skills > 4 do %> | <% end %>
        <%= if @total_user_skills > 4 do %>
          <%= link gettext("View All"), to: user_user_skill_path(@conn, :index, @user)%>
        <% end %>

    <% end %>

  <% end %>

    <%= render Vutuv.SharedView, "_ad.html" %>

    <%= if(Enum.count(@emails) > 0 or same_user?(@user, @current_user)) do %>

      <%= if same_user?(@user, @current_user) do %>
      <%= link to: user_email_path(@conn, :index, @user), class: "card__edit button button--icon button--small" do %>

      <% end %>
      <% end %>

<%= gettext "Contact" %>

      <%= if(Enum.count(@emails) > 0) do %>

<%= if (Enum.count(@emails) == 1), do: gettext("Email"), else: gettext("Emails") %>

        <%= for email <- @emails do %>

<a href="mailto:<%= email.value %>"><%= email.value %>

        <% end %>

      <% end %>

        <%= if same_user?(@user, @current_user) do %>
          <%= link gettext("Add"), to: user_email_path(@conn, :new, @current_user) %>
        <% end %>

    <% end %>

    <%= if(@user.headline || @user.birthdate || same_user?(@user, @current_user)) do %>

        <%= if same_user?(@user, @current_user) do %>
        <%= link to: user_path(@conn, :edit, @user), class: "card__edit button button--icon button--small" do %>

        <% end %>
        <% end %>

<%= gettext "General Info" %>

        <%= if @user.headline || same_user?(@user, @current_user) do %>

<%= @user.headline %>

        <% end %>

          <%= if(@user.gender != "other" && @user.gender) do %>

<%= gettext "Gender" %>

<%= Vutuv.User.gender_gettext(@user.gender) %>

          <% end %>
          <%= if(@user.birthdate) do %>

<%= gettext "Birthday" %>

<%= format_birthdate(@user) %>

          <% end %>

    <% end %>

    <%= if Enum.count(@user.social_media_accounts) > 0 or same_user?(@user, @current_user) do %>

        <%= if same_user?(@user, @current_user) do %>
        <%= link to: user_social_media_account_path(@conn, :index, @user), class: "card__edit button button--icon button--small" do %>

        <% end %>
        <% end %>

<%= gettext "Social Media" %>

        <%= for account <- @user.social_media_accounts do %>

<%= account.provider %>

<%= Vutuv.SocialMediaAccount.social_media_link account %>

        <% end %>

          <%= if same_user?(@user, @current_user) do %>
            <%= link gettext("Add"), to: user_social_media_account_path(@conn, :new, @current_user) %>
          <% end %>

    <% end %>

<%= gettext "Exports" %>

<%= gettext "Vcard" %>

<%= link gettext("Download"), to: api_user_v_card_path(@conn, :get, @user) %>

  <section class="card half<%= if @follower_count == 0, do: " card--empty" %>">

<%= gettext "Followers" %>

    <%= if(@follower_count > 0) do %>

    <%= render "card_list.html", conn: @conn, users: @user.followers, current_user: @current_user, current_user_id: @current_user_id, work_string_length: 20 %>

    <% else %>

<%= gettext "No Followers yet!" %>

    <% end %>
    <%= if(@follower_count > 3) do %>
      <%= link "#{@follower_count-3} #{gettext "More"}", to: user_follower_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>

<%= gettext "Following" %>

    <%= if(@followee_count > 0) do %>

    <%= render "card_list.html", conn: @conn, users: @user.followees, current_user: @current_user, current_user_id: @current_user_id, work_string_length: 20 %>

    <% else %>

<%= gettext "Not following anyone yet!" %>

    <% end %>
    <%= if(@followee_count > 3) do %>
      <%= link "#{@followee_count-3} #{gettext "More"}", to: user_followee_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>

    <%= if @total_jobs > 0 or same_user?(@user, @current_user) do %>

<%= gettext "Experience" %>

    <%= if @total_jobs > 0 do %>
    <%= render Vutuv.WorkExperienceView, "card_list.html", assigns %>

    <% else %>

    <% end %>

      <%= if same_user?(@user, @current_user) do %>
        <%= link gettext("Add"), to: user_work_experience_path(@conn, :new, @current_user) %>
      <% end %>
      <%= if same_user?(@user, @current_user) and @total_jobs > 5 do %> | <% end %>
      <%= if @total_jobs > 5 do %>
        <%= link gettext("View All"), to: user_work_experience_path(@conn, :index, @user) %>
      <% end %>

  <% end %>

  <%= if @total_numbers > 0 or same_user?(@user, @current_user) do %>

<%= gettext "Phone Numbers" %>

    <%= if @total_numbers > 0 do %>
    <%= render Vutuv.PhoneNumberView, "card_list.html", phone_numbers: @user.phone_numbers, user: @user, conn: @conn, current_user: @current_user %>
    <% end %>

      <%= if same_user?(@user, @current_user) do %>
        <%= link gettext("Add"), to: user_phone_number_path(@conn, :new, @current_user) %>
      <% end %>
      <%= if same_user?(@user, @current_user) and @total_numbers > 5 do %> | <% end %>
      <%= if @total_numbers > 5 do %>
        <%= link gettext("View All"), to: user_phone_number_path(@conn, :index, @user) %>
      <% end %>

  <% end %>

  <%= if @total_links > 0 or same_user?(@user, @current_user) do %>

<%= gettext "Links" %>

    <%= if @total_links > 0 do %>
    <%= render Vutuv.UrlView, "card_list.html", urls: @user.urls, user: @user, conn: @conn, current_user: @current_user %>
    <% end %>

      <%= if same_user?(@user, @current_user) do %>
        <%= link gettext("Add"), to: user_url_path(@conn, :new, @current_user) %>
      <% end %>
      <%= if same_user?(@user, @current_user) and @total_links > 5 do %> | <% end %>
      <%= if @total_links > 5 do %>
        <%= link gettext("View All"), to: user_url_path(@conn, :index, @user) %>
      <% end %>

  <% end %>

  <%= if @total_addresses > 0 or same_user?(@user, @current_user) do %>

<%= gettext "Addresses" %>

    <%= if @total_addresses > 0 do %>
    <%= render Vutuv.AddressView, "card_list.html", addresses: @user.addresses, user: @user, conn: @conn, current_user: @current_user %>
    <% end %>

      <%= if same_user?(@user, @current_user) do %>
        <%= link gettext("Add"), to: user_address_path(@conn, :new, @current_user) %>
      <% end %>
      <%= if same_user?(@user, @current_user) and @total_addresses > 5 do %> | <% end %>
      <%= if @total_addresses > 5 do %>
        <%= link gettext("View All"), to: user_address_path(@conn, :index, @user) %>
      <% end %>

  <% end %>


Adds Google breadcrumbs for users#show #474

<%# header tag begins in parent template %>
  <div class="profile-header<%= if @user.verified, do: " profile-header--verified" %>">

      <img src="<%= Vutuv.Avatar.binary(@user, :medium) %>">

        <%= full_name(@user) %>
        <%= if !@user.verified and admin_visitor?(@conn) do %>
          <%= button to: admin_user_path(@conn, :update, user_id: @user.id), class: "button button--icon navigation__icon", form: [class: "button button--icon"], method: "post" do %>
            <i title="<%= gettext("Verify") %>" class="icon icon--lock">
          <% end %>
        <% end %>
        <%= if same_user?(@user, @current_user) do %>
        <%= link to: user_path(@conn, :edit, @user), class: "profile-header__edit button button--icon button--small" do %>

        <% end %>
        <% end %>

        <%= work_information_string(@user, 50) %>

    <%= if @user.verified do %>
      Verified profile
    <% end %>

        <%= if(@follower_count>0) do %>

<%= short_name(@user) %> <%= gettext "has" %><%= @follower_count %> <%= gettext "followers" %>

        <% end %>
        <%= if is_visitor?(@conn, @current_user) do %>
          <%= if user_follows_user?(@current_user, @user) do %>
            <%= button to: connection_path(@conn, :delete, user_follows_user?(@current_user, @user)), method: :delete , class: "button button-link button--unfollow", form: [class: "button--unfollow"] do %>
               Unfollow
            <% end %>
          <%= else %>
            <%= button to: connection_path(@conn, :create, connection: %{follower_id: @current_user_id, followee_id: @user.id}), method: :post , class: "button button-link", form: [class: "button--slim"] do %>
               Follow
            <% end %>
          <% end %>
        <% end %>

<%= render Vutuv.LayoutView, "flash.html", assigns %>

  <%= gettext "Users" %> / <%= full_name @user %>

  <%= if @display_welcome_message do %>
    <%= if same_user?(@user, @current_user) do %>
      <%= if Enum.count(@user_skills) == 0 do %>

<%= gettext "Your New vutuv Profile Page" %>

            <%= gettext "Please take a couple of minutes to add information that might be interesting for your future followers. Why don't you start with your skills and work experiences?" %>

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

  <%= if Enum.count(@user_skills) > 0 or same_user?(@user, @current_user) do %>

<%= gettext "Skills" %>

    <%= if Enum.count(@user_skills) > 0 do %>
    <%= render Vutuv.UserSkillView, "card_list.html", assigns %>
    <% end %>

    <%= if same_user?(@user, @current_user) do %>
      <% #Form for easy skill entry %>
      <%= if Enum.count(@user_skills) == 0 do %>
        <%= form_for @conn, user_path(@conn, :skills_create, @user), [as: :skills, class: "editform"], fn f -> %>
          <div class="editform__field<%= if error_tag(f, :name), do: " editform__field--error"%>">
            <%= label f, :skills, gettext("Enter comma separated skills here") %>
            <%= text_input f, :skills, placeholder: gettext("PHP, JavaScript, Tap Dancing, Origami"), autofocus: true %>
            <%= error_tag f, :skills %>

            <%= submit gettext("Add"), class: "button button--full" %>

        <% end %>
      <% end %>
    <% end %>
    <%= if Enum.count(@user_skills) > 0 do %>

        <%= if same_user?(@user, @current_user) do %>
          <%= link gettext("Add"), to: user_user_skill_path(@conn, :new, @current_user) %>
        <% end %>
        <%= if same_user?(@user, @current_user) and Enum.count(@user.user_skills) > 4 do %> | <% end %>
        <%= if Enum.count(@user.user_skills) > 4 do %>
          <%= link gettext("View All"), to: user_user_skill_path(@conn, :index, @user)%>
        <% end %>

    <% end %>

  <% end %>

    <%= render Vutuv.SharedView, "_ad.html" %>

    <%= if(Enum.count(@emails) > 0 or same_user?(@user, @current_user)) do %>

      <%= if same_user?(@user, @current_user) do %>
      <%= link to: user_email_path(@conn, :index, @user), class: "card__edit button button--icon button--small" do %>

      <% end %>
      <% end %>

<%= gettext "Contact" %>

      <%= if(Enum.count(@emails) > 0) do %>

<%= if (Enum.count(@emails) == 1), do: gettext("Email"), else: gettext("Emails") %>

        <%= for email <- @emails do %>

<a href="mailto:<%= email.value %>"><%= email.value %>

        <% end %>

      <% end %>

        <%= if same_user?(@user, @current_user) do %>
          <%= link gettext("Add"), to: user_email_path(@conn, :new, @current_user) %>
        <% end %>

    <% end %>

    <%= if(@user.headline || @user.birthdate || same_user?(@user, @current_user)) do %>

        <%= if same_user?(@user, @current_user) do %>
        <%= link to: user_path(@conn, :edit, @user), class: "card__edit button button--icon button--small" do %>

        <% end %>
        <% end %>

<%= gettext "General Info" %>

        <%= if @user.headline || same_user?(@user, @current_user) do %>

<%= @user.headline %>

        <% end %>

          <%= if(@user.gender != "other" && @user.gender) do %>

<%= gettext "Gender" %>

<%= Vutuv.User.gender_gettext(@user.gender) %>

          <% end %>
          <%= if(@user.birthdate) do %>

<%= gettext "Birthday" %>

<%= format_birthdate(@user) %>

          <% end %>

    <% end %>

    <%= if Enum.count(@user.social_media_accounts) > 0 or same_user?(@user, @current_user) do %>

        <%= if same_user?(@user, @current_user) do %>
        <%= link to: user_social_media_account_path(@conn, :index, @user), class: "card__edit button button--icon button--small" do %>

        <% end %>
        <% end %>

<%= gettext "Social Media" %>

        <%= for account <- @user.social_media_accounts do %>

<%= account.provider %>

<%= Vutuv.SocialMediaAccount.social_media_link account %>

        <% end %>

          <%= if same_user?(@user, @current_user) do %>
            <%= link gettext("Add"), to: user_social_media_account_path(@conn, :new, @current_user) %>
          <% end %>

    <% end %>

<%= gettext "Exports" %>

<%= gettext "Vcard" %>

<%= link gettext("Download"), to: api_user_v_card_path(@conn, :get, @user) %>

  <section class="card half<%= if @follower_count == 0, do: " card--empty" %>">

<%= gettext "Followers" %>

    <%= if(@follower_count > 0) do %>

    <%= render "card_list.html", conn: @conn, users: @user.followers, current_user: @current_user, current_user_id: @current_user_id, work_string_length: 20 %>

    <% else %>

<%= gettext "No Followers yet!" %>

    <% end %>
    <%= if(@follower_count > 3) do %>
      <%= link "#{@follower_count-3} #{gettext "More"}", to: user_follower_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>

<%= gettext "Following" %>

    <%= if(@followee_count > 0) do %>

    <%= render "card_list.html", conn: @conn, users: @user.followees, current_user: @current_user, current_user_id: @current_user_id, work_string_length: 20 %>

    <% else %>

<%= gettext "Not following anyone yet!" %>

    <% end %>
    <%= if(@followee_count > 3) do %>
      <%= link "#{@followee_count-3} #{gettext "More"}", to: user_followee_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>

    <%= if @total_jobs > 0 or same_user?(@user, @current_user) do %>

<%= gettext "Experience" %>

    <%= if @total_jobs > 0 do %>
    <%= render Vutuv.WorkExperienceView, "card_list.html", assigns %>

    <% else %>

    <% end %>

      <%= if same_user?(@user, @current_user) do %>
        <%= link gettext("Add"), to: user_work_experience_path(@conn, :new, @current_user) %>
      <% end %>
      <%= if same_user?(@user, @current_user) and @total_jobs > 5 do %> | <% end %>
      <%= if @total_jobs > 5 do %>
        <%= link gettext("View All"), to: user_work_experience_path(@conn, :index, @user) %>
      <% end %>

  <% end %>

  <%= if @total_numbers > 0 or same_user?(@user, @current_user) do %>

<%= gettext "Phone Numbers" %>

    <%= if @total_numbers > 0 do %>
    <%= render Vutuv.PhoneNumberView, "card_list.html", phone_numbers: @user.phone_numbers, user: @user, conn: @conn, current_user: @current_user %>
    <% end %>

      <%= if same_user?(@user, @current_user) do %>
        <%= link gettext("Add"), to: user_phone_number_path(@conn, :new, @current_user) %>
      <% end %>
      <%= if same_user?(@user, @current_user) and @total_numbers > 5 do %> | <% end %>
      <%= if @total_numbers > 5 do %>
        <%= link gettext("View All"), to: user_phone_number_path(@conn, :index, @user) %>
      <% end %>

  <% end %>

  <%= if @total_links > 0 or same_user?(@user, @current_user) do %>

<%= gettext "Links" %>

    <%= if @total_links > 0 do %>
    <%= render Vutuv.UrlView, "card_list.html", urls: @user.urls, user: @user, conn: @conn, current_user: @current_user %>
    <% end %>

      <%= if same_user?(@user, @current_user) do %>
        <%= link gettext("Add"), to: user_url_path(@conn, :new, @current_user) %>
      <% end %>
      <%= if same_user?(@user, @current_user) and @total_links > 5 do %> | <% end %>
      <%= if @total_links > 5 do %>
        <%= link gettext("View All"), to: user_url_path(@conn, :index, @user) %>
      <% end %>

  <% end %>

  <%= if @total_addresses > 0 or same_user?(@user, @current_user) do %>

<%= gettext "Addresses" %>

    <%= if @total_addresses > 0 do %>
    <%= render Vutuv.AddressView, "card_list.html", addresses: @user.addresses, user: @user, conn: @conn, current_user: @current_user %>
    <% end %>

      <%= if same_user?(@user, @current_user) do %>
        <%= link gettext("Add"), to: user_address_path(@conn, :new, @current_user) %>
      <% end %>
      <%= if same_user?(@user, @current_user) and @total_addresses > 5 do %> | <% end %>
      <%= if @total_addresses > 5 do %>
        <%= link gettext("View All"), to: user_address_path(@conn, :index, @user) %>
      <% end %>

  <% end %>


Add atom link and XML standard

Add atom link and XML standard

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Today I Learned</title>
    <description>TIL is an open-source project by Hashrocket that exists to catalogue the sharing & accumulation of knowledge as it happens day-to-day.
    </description>
    <link><%= post_url(@conn, :index) %></link>
    <atom:link href="https://til.hashrocket.com/rss" rel="self" type="application/rss+xml" />
    <%= for post <- @items do %>
      <item>
        <title>
          <![CDATA[<%= post.title %>]]>
        </title>
        <link><%= post_url(@conn, :show, post) %></link>
        <description>
          <![CDATA[<%= Tilex.Markdown.to_html(post.body) %>]]>
        </description>
        <pubDate><%= Tilex.SharedView.rss_date(post) %></pubDate>
        <guid isPermaLink="true"><%= post_url(@conn, :show, post) %></guid>
      </item>
    <% end %>
  </channel>
</rss>

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Today I Learned</title>
    <description>TIL is an open-source project by Hashrocket that exists to catalogue the sharing & accumulation of knowledge as it happens day-to-day.
    </description>
    <link><%= post_url(@conn, :index) %></link>
    <%= for post <- @items do %>
      <item>
        <title>
          <![CDATA[<%= post.title %>]]>
        </title>
        <link><%= post_url(@conn, :show, post) %></link>
        <description>
          <![CDATA[<%= Tilex.Markdown.to_html(post.body) %>]]>
        </description>
        <pubDate><%= Tilex.SharedView.rss_date(post) %></pubDate>
        <guid isPermaLink="true"><%= post_url(@conn, :show, post) %></guid>
      </item>
    <% end %>
  </channel>
</rss>


Add form for signup

Add form for signup

TapRacer signup

<form action="/">
  Username:
  <input type="text" name="username">
  <input type="submit" value="Play">
  <button type="button" name="play">Play</button>
</form>


Add HoneyBadger client-side error reporting in production

<!DOCTYPE html>

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

    <% end %>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="A real-time application for conducting Agile retrospectives">
    <meta name="google-site-verification" content="T5W8sjrjt-BmTK5SYTjPM-FQZD8oGNatTNAJSyRex7o" />
    <meta name="author" content="">
    <title>RemoteRetro</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/semantic-ui/semantic.min.css") %>">
    <%= if Application.get_env(:remote_retro, :env) == :dev do %>
      <link id="css" rel="stylesheet" href="http://localhost:5001/css/app.css" />
    <% else %>
      <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
    <% end %>

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

    <% end %>

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

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

RemoteRetro

Built by

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

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

    <% end %>

<!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="A real-time application for conducting Agile retrospectives">
    <meta name="google-site-verification" content="T5W8sjrjt-BmTK5SYTjPM-FQZD8oGNatTNAJSyRex7o" />
    <meta name="author" content="">
    <title>RemoteRetro</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/semantic-ui/semantic.min.css") %>">
    <%= if Application.get_env(:remote_retro, :env) == :dev do %>
      <link id="css" rel="stylesheet" href="http://localhost:5001/css/app.css" />
    <% else %>
      <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
    <% end %>

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

    <% end %>

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

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

RemoteRetro

Built by

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

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

    <% end %>


Fix wrong class name

Fix wrong class name

  <%= Enum.map assigns[:repos], fn (repo)-> %>
    <a href=<%= repo.url %> class="repo repo--language-<%= repo.language %>" target="_blank">

        <%= repo.pretty_language %>
        <%= repo.stargazers_count %> ★
        <%= repo.name %>

<%= repo.description %>

  <% end %>


Don't force selection

Don't force selection

Categories

<%= for category <- @categories do %>

<%= category.name %>

    <%= for activity <- category.activities do %>

<%= activity.name %>

    <% end %>
<% end %>

Create a category

<%= form_for @changeset, user_path(@conn, :create), fn f -> %>
    <%= text_input f, :user_id, value: @user, type: "hidden" %>

                Category
                <%= text_input f, :name, class: "ui input" %>

                Activities

                    <input type="hidden" name="category[activities]">

Select Activities

                        <%= for act <- @unclaimed do %>
                            <div class="item" data-value="<%= act.id %>"><%= act.name %>

                        <% end %>

        <button class="ui right floated primary button">Create</button>

<% end %>


add color to chat text

add color to chat text

          @
          <input id="username" type="text" class="form-control" placeholder="username">

        <input id="message-input" class="form-control" />


csrf token

csrf token

<script>localStorage.setItem("csrfToken", "<%= get_csrf_token %>");</script>

<%= gettext "Welcome to %{name}", name: "Phoenix!" %>

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

Resources

        Guides

        Docs

        Source

Help

        Mailing list

        #elixir-lang on freenode IRC

        @elixirphoenix


Edit text

Edit text

Academic Papers

                          Please open an issue to add a new paper

Papers are organized chronologically. We attempt to
                      show the BEAM related tech used in the paper next to the
                      title.

                        <%= for ap <- @academic_papers do %>

                            <a href="<%= ap.link %>"><%= ap.name %> | <%= ap.tags %>

                        <% end %>

Academic Papers

Please open an issue to add a new paper.

Papers are organized chronologically and we attempt to show the tech used next to the title if possible.

                        <%= for ap <- @academic_papers do %>

                            <a href="<%= ap.link %>"><%= ap.name %> | <%= ap.tags %>

                        <% end %>


Add app links to LW phase panel on home page

Landeswettbewerb <%= year(@contest) %>

      Der Landeswettbewerb findet dieses Jahr an der <%= @contest.host.name %> statt.

Aktuelle Infos

Vorspielpläne und Ergebnisse findest du ab Mitte März in der Jumu-App:

      <%= app_link :ios %> <%= app_link :android %>


Adding proper fonts now

Adding proper fonts now

<!doctype html>

    <title>rockerBOO / Dave Lage</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href='http://fonts.googleapis.com/css?family=Roboto+Mono:700italic' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Roboto:400,300,500,700,700italic,500italic,400italic,300italic' rel='  stylesheet' type='text/css'>

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

        <svg class="brand" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg">
          <g stroke="#000" stroke-width="4" fill="none" stroke-linecap="square">
            <path d="M22 34c3 0 5-1 6.4-8 1.5-8-8.4-8-8.4-8s10 0 10.8-8c.8-8-4.8-8-9.8-8H11l-.4 2" class="b"/>
            <path d="M15 18c-6 0-7 1-8 5L5 33" class="r"/>
          </g>
        </svg>

rockerBOO

          <li<%= "/" |> active_top_level(@conn) |> raw %>>About Me

          <li<%= ["/projects", "/discovery", "/chatbot", "/virb"] |> active_top_level(@conn) |> raw %>>Projects

          <li<%= "/contact" |> active_top_level(@conn) |> raw %>>Contact

    <%= @inner %>

<!doctype html>

    <title>rockerBOO / Dave Lage</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href='http://fonts.googleapis.com/css?family=Roboto+Mono:700italic,Roboto' rel='stylesheet' type='text/css'>

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

        <svg class="brand" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg">
          <g stroke="#000" stroke-width="4" fill="none" stroke-linecap="square">
            <path d="M22 34c3 0 5-1 6.4-8 1.5-8-8.4-8-8.4-8s10 0 10.8-8c.8-8-4.8-8-9.8-8H11l-.4 2" class="b"/>
            <path d="M15 18c-6 0-7 1-8 5L5 33" class="r"/>
          </g>
        </svg>

rockerBOO

          <li<%= "/" |> active_top_level(@conn) |> raw %>>About Me

          <li<%= ["/projects", "/discovery", "/chatbot", "/virb"] |> active_top_level(@conn) |> raw %>>Projects

          <li<%= "/contact" |> active_top_level(@conn) |> raw %>>Contact

    <%= @inner %>


Update links to Bootstrap and jQuery

Update links to Bootstrap and jQuery

<!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, user-scalable=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Hello TapRacer!</title>

    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
  </head>

  <body data-js-view-name="<%= js_view_name(@conn, @view_template) %>">
    <div class="container">
      <main role="main">
        <%= render @view_module, @view_template, assigns %>
      </main>
    </div> <!-- /container -->
    <script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></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, user-scalable=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Hello TapRacer!</title>

    <!-- Bootstrap -->
    <!-- Latest compiled and minified CSS -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
    <!-- Optional theme -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
    <!-- Latest compiled and minified JavaScript -->
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>

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

  <body data-js-view-name="<%= js_view_name(@conn, @view_template) %>">
    <div class="container">
      <main role="main">
        <%= render @view_module, @view_template, assigns %>
      </main>
    </div> <!-- /container -->
    <script src="//code.jquery.com/jquery-2.2.4.min.js"></script>
    <script src="<%= static_path(@conn, "/js/app.js") %>"></script>
  </body>
</html>


Fix quotes on Ecto example link

Fix quotes on Ecto example link

Welcome to GraphQL Elixir!

A better way to build blazing fast APIs.

Hello World Example

        /graphql/hello?query={greeting}

        /graphql/hello?query={greeting(name:"Joe")}

Simple Blog Example

        /graphql/blog?query={article(id:"1"){id,title,body,author{name}}}

        /graphql/blog?query={feed{title,body},article(id:1){id,title,body,author{name}}}

Ecto Example

          /graphql/ecto?query={greeting(id:2)}

          /graphql/ecto?query={greeting(name:"Garrett1")}

Resources

        GraphQL Plug Hex Package

        GraphQL Plug Docs

        GraphQL Plug Source

        GraphQL Core Hex Package

        GraphQL Core Docs

        GraphQL Core Source

        GraphQL Spec

Help

        Erlang channel on the GraphQL Slack


Some text accidentally got added

Some text accidentally got added

<!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="">

    <title>Shall We Play a Game?</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

Chess

          <%= if current_user(@conn) do %>
            <%= current_user(@conn).name %> (<%= current_user(@conn).email %>)
            |
            <%= link("Log out", to: session_path(@conn, :delete), method: :delete) %>
          <% else %>
            <%= link("Register", to: registration_path(@conn, :new)) %>
            |
            <%= link("Log in", to: session_path(@conn, :new)) %>
          <% end %>

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

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

        <%= 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="">

    <title>Shall We Play a Game?</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

Chess

          <%= if current_user(@conn) do %>
            <%= current_user(@conn).name %> (<%= current_user(@conn).email %>)
            |
            <%= link("Log out", to: session_path(@conn, :delete), method: :delete) %>
          <% else %>
            <%= link("Register", to: registration_path(@conn, :new)) %>yout
            |
            <%= link("Log in", to: session_path(@conn, :new)) %>
          <% end %>

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

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

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


added pricing page

added pricing page

Pricing

Sign up for a 14 day free trial of the Basic plan

        Basic
        10 monitors
        1 minute frequency
        $3 per month

          Sign Up

        Plus
        20 monitors
        1 minute frequency
        $5 per month

          Sign Up

        Pro
        50 monitors
        1 minute frequency
        $15 per month

          Sign Up


Style privacy page for mobile

Style privacy page for mobile

Privacy Policy

This privacy policy describes how Action for Children protects and makes use of the information you give us when you use this service.

Action for Children is committed to protecting the privacy of its supporters and stakeholders. We fully comply with the Data Protection Act 1998.

This policy is updated from time to time. The latest version will always be published on this page. This privacy policy was updated on 2nd March 2018.

If you have any questions about this policy, please email ask.us@actionforchildren.org.uk or write to: Action For Children, 3 The Boulevard, Ascot Road, Watford WD18 8AG.

We gather and use certain information about you in order to provide this service and enable functions on this website. We also collect information and report on service use in order to better understand how you are using this service and so that we can make timely and relevant improvements.

How do we collect personal information?

We only collect personal information when you specifically provide it to us. This may happen when you are having a conversation with us or when we ask you to fill out forms on the service.

What information we gather

We may collect and store the following information:

Name

Email address

Location

Age of children

Website usage data

Conversation transcripts

Other information relevant to the service

How we use this data

Collecting this information allows us to provide the service for you, improve the service and understand how users may interact with the service so that we can establish whether this trial service is something Action for Children rolls out on a larger scale.

Specifically, we may use data:

To provide the service to you

To signpost you to appropriate local services

To escalate safeguarding concerns

To contact you in response to a specific enquiry

To evaluate the service

To improve the service we provide

To contact you for feedback

What do we do with your personal information?

We are legally obliged by the Data Protection Act 1998 to make sure that we only use your information for the purpose for which it was requested, and to make sure it is kept securely.

Your personal information, conversations and notes will be stored on Intercom (the platform for the service) and Action for Children servers and only shared with partner organisations such as Cornwall County Council and Sandwell Council (our pilot partners), health services, and children’s agencies, for the purpose of contacting families to provide appropriate and timely services, evaluate service provision and for statistical analysis.

Under the Data Protection Act 1998, any confidential information regarding your family will not be passed onto organisations outside of Children's Services partners, as mentioned above, without your consent, unless it is of a Child Protection nature, in which case information will be shared with appropriate agencies.

How long will we keep your information?

We only keep your information as long as we need to, by law.

Your information rights

You can ask to see any information Action for Children holds about you, to have information corrected or erased.

Any questions or complaints:

If you want to

correct, erase or withdraw your consent or

make a complaint or ask any other question in relation to your information please contact someone at the Information Governance Team at ask.us@actionforchildren.org.uk Action For Children, 3 The Boulevard, Ascot Road, Watford WD18 8AG.

Cookies and how we use them

What is a cookie?

A cookie is a small file placed on your computer's hard drive. It enables us to identify your computer as you view different pages on our website.

Cookies enable us to see information like how many people use the website/service and how people use it.

How we use cookies

We may use cookies to:

Analyse our web traffic using Google Analytics. Aggregated usage data helps us improve the website structure, design, content and functions.

Identify whether you are signed in to our website.

Store information about your preferences. The website can then present you with information you will find more relevant and interesting.

To recognise when you return to our website.

Cookies do not provide us with access to your computer or any information about you, other than that which you choose to share with us.

Controlling cookies

You can use your web browser's cookie settings to determine how our website uses cookies. If you do not want our website to store cookies on your computer or device, you should set your web browser to refuse cookies.

Links from the site

Our website may contain links to other websites. You may also be sent links during your conversations with us to other websites.

Please note that we have no control of websites outside the Action for Children domain. If you provide information to a website to which we link, we are not responsible for its protection and privacy.

Always be wary when submitting data to websites. Read the site's data protection and privacy policies fully.


Update the app layout navigation to reflect current session

<!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="">

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

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

          </button>
          Project name

Staff

Services

            <%= if @current_user do %>

Logout <%= @current_user.name %> (<%= @current_user.company_name %>)

            <%= else %>

Login

            <%= end %>

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

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

        <%= 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="">

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

Staff

Services

book.me

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

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

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


Added description meta tag

Added description meta tag

<!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="Trello tribute done in Elixir, Phoenix, React and Redux.">
    <meta name="author" content="ricardo@codeloveandboards.com">

    <title>Phoenix Trello</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/application.css") %>">

    <link id="favicon" rel="icon" type="image/png" sizes="64x64" href="<%= static_path(@conn, "/images/favicon.png") %>"/>

        Trello tribute for educational purposes
        crafted with ♥ for Diacode
        by @bigardone

<!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="ricardo@codeloveandboards.com">

    <title>Phoenix Trello</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/application.css") %>">

    <link id="favicon" rel="icon" type="image/png" sizes="64x64" href="<%= static_path(@conn, "/images/favicon.png") %>"/>

        Trello tribute for educational purposes
        crafted with ♥ for Diacode
        by @bigardone


fix webpack hot reload bundle.js path too

<!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, user-scalable=no">
    <meta name="theme-color" content="#F0F3F7" />
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="description" content="whistler news reader">
    <meta name="author" content="Frederik Dietz">
    <meta name="theme-color" content="#27323F">

    <title>whistler news reader</title>

    <link rel="manifest" href="<%= static_path(@conn, "/manifest.json") %>">

    <link rel="apple-touch-icon" sizes="57x57" href="<%= static_path(@conn, "/favicons/apple-icon-57x57.png") %>">
    <link rel="apple-touch-icon" sizes="60x60" href="<%= static_path(@conn, "/favicons/apple-icon-60x60.png") %>">
    <link rel="apple-touch-icon" sizes="72x72" href="<%= static_path(@conn, "/favicons/apple-icon-72x72.png") %>">
    <link rel="apple-touch-icon" sizes="76x76" href="<%= static_path(@conn, "/favicons/apple-icon-76x76.png") %>">
    <link rel="apple-touch-icon" sizes="114x114" href="<%= static_path(@conn, "/favicons/apple-icon-114x114.png") %>">
    <link rel="apple-touch-icon" sizes="120x120" href="<%= static_path(@conn, "/favicons/apple-icon-120x120.png") %>">
    <link rel="apple-touch-icon" sizes="144x144" href="<%= static_path(@conn, "/favicons/apple-icon-144x144.png") %>">
    <link rel="apple-touch-icon" sizes="152x152" href="<%= static_path(@conn, "/favicons/apple-icon-152x152.png") %>">
    <link rel="apple-touch-icon" sizes="180x180" href="<%= static_path(@conn, "/favicons/apple-icon-180x180.png") %>">
    <link rel="icon" type="image/png" sizes="192x192" href="<%= static_path(@conn, "/favicons/android-icon-192x192.png") %>">
    <link rel="icon" type="image/png" sizes="32x32" href="<%= static_path(@conn, "/favicons/favicon-32x32.png") %>">
    <link rel="icon" type="image/png" sizes="96x96" href="<%= static_path(@conn, "/favicons/favicon-96x96.png") %>">
    <link rel="icon" type="image/png" sizes="16x16" href="<%= static_path(@conn, "/favicons/favicon-16x16.png") %>">

    <link href="https://fonts.googleapis.com/css?family=Merriweather:300,400" rel="stylesheet" type="text/css">
    <link href='https://fonts.googleapis.com/css?family=Lato:400,600' rel='stylesheet' type='text/css'>
  </head>

  <body>
    <%= render @view_module, @view_template, assigns %>
    <%= if Mix.env == :dev && System.get_env("WEBPACK_ENV") == "hot" do %>
      <script src="http://localhost:4001/js/bundle.js"></script>
    <% else %>
      <script src="<%= static_path(@conn, "/js/bundle.js") %>"></script>
    <% end %>
  </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, user-scalable=no">
    <meta name="theme-color" content="#F0F3F7" />
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="description" content="whistler news reader">
    <meta name="author" content="Frederik Dietz">
    <meta name="theme-color" content="#27323F">

    <title>whistler news reader</title>

    <link rel="manifest" href="<%= static_path(@conn, "/manifest.json") %>">

    <link rel="apple-touch-icon" sizes="57x57" href="<%= static_path(@conn, "/favicons/apple-icon-57x57.png") %>">
    <link rel="apple-touch-icon" sizes="60x60" href="<%= static_path(@conn, "/favicons/apple-icon-60x60.png") %>">
    <link rel="apple-touch-icon" sizes="72x72" href="<%= static_path(@conn, "/favicons/apple-icon-72x72.png") %>">
    <link rel="apple-touch-icon" sizes="76x76" href="<%= static_path(@conn, "/favicons/apple-icon-76x76.png") %>">
    <link rel="apple-touch-icon" sizes="114x114" href="<%= static_path(@conn, "/favicons/apple-icon-114x114.png") %>">
    <link rel="apple-touch-icon" sizes="120x120" href="<%= static_path(@conn, "/favicons/apple-icon-120x120.png") %>">
    <link rel="apple-touch-icon" sizes="144x144" href="<%= static_path(@conn, "/favicons/apple-icon-144x144.png") %>">
    <link rel="apple-touch-icon" sizes="152x152" href="<%= static_path(@conn, "/favicons/apple-icon-152x152.png") %>">
    <link rel="apple-touch-icon" sizes="180x180" href="<%= static_path(@conn, "/favicons/apple-icon-180x180.png") %>">
    <link rel="icon" type="image/png" sizes="192x192" href="<%= static_path(@conn, "/favicons/android-icon-192x192.png") %>">
    <link rel="icon" type="image/png" sizes="32x32" href="<%= static_path(@conn, "/favicons/favicon-32x32.png") %>">
    <link rel="icon" type="image/png" sizes="96x96" href="<%= static_path(@conn, "/favicons/favicon-96x96.png") %>">
    <link rel="icon" type="image/png" sizes="16x16" href="<%= static_path(@conn, "/favicons/favicon-16x16.png") %>">

    <link href="https://fonts.googleapis.com/css?family=Merriweather:300,400" rel="stylesheet" type="text/css">
    <link href='https://fonts.googleapis.com/css?family=Lato:400,600' rel='stylesheet' type='text/css'>
  </head>

  <body>
    <%= render @view_module, @view_template, assigns %>
    <%= if Mix.env == :dev && System.get_env("WEBPACK_ENV") == "hot" do %>
      <script src="http://localhost:4001/bundle.js"></script>
    <% else %>
      <script src="<%= static_path(@conn, "/js/bundle.js") %>"></script>
    <% end %>
  </body>
</html>


Add Google Analytics.

Add Google Analytics.

<!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="Live earthquakes dashboard">
    <meta name="author" content="Renato Moya">

    <title>eqdash</title>

    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css">

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

eqdash live earthquakes dashboard

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


Reword footer stats to "All-time stats"

Reword footer stats to "All-time stats"

<!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="">

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

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

          </button>

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

            <%= menu_item(@conn, page_path(@conn, :index), "Home") %>
            <%= menu_item(@conn, retries_path(@conn, :index), retries_count) %>

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

All-time stats

 <%= total_stats %>

<!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="">

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

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

          </button>

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

            <%= menu_item(@conn, page_path(@conn, :index), "Home") %>
            <%= menu_item(@conn, retries_path(@conn, :index), retries_count) %>

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

Overall stats

 <%= total_stats %>


Add arrow to initial sign-in call to action

    Remote

    RetroBETA

  <%= if @current_user do %>

      Glad to have you, <%= @current_user.given_name %>!

    <%= form_for @conn, retro_path(@conn, :create), [as: :retro, class: "ui form"], fn _f -> %>
      <button type="submit" class="ui blue right labeled icon button">
        Create a Retrospective for Your Team

      </button>
    <% end %>
  <% else %>

      Get Better With Your Team

RemoteRetro lets you get together, even when you're far apart.

      Sign in with Google to Get Started

  <% end %>

    Frequently Asked Questions


Fix itunes link

Fix itunes link

Band Indigo — instrumental rock from Siberia

Get our music on iTunes, Google play.


Make the examples more descriptive and prettify queries

Welcome to GraphQL Elixir!

A better way to build blazing fast APIs.

Hello World Example

      This is the simplest possible schema definition with a single entry point working against hard-coded values.

          Schema definition

          Simplest possible query

          Parameterise greeting query by name

Simple Blog Example

      A simple schema definition with a variety of data types.

      Hint: Try out the auto-complete of the queries and explore the documentation!

          Schema definition

          Fetch an article by ID with nested author name and picture

          Fetch a blog feed and an article in one query

Simple Ecto Example

      A variant of the Hello World schema definition using an Ecto-driven PostgreSQL datastore.

          Schema definition

          Greet a person fetched by ID

          Greet a person fetched by name

Star Wars Example

      A more complex schema containing Enum types and Interfaces. Data is stored in memory.

      Note the use of type introspection using the `__typename` field.

          Schema definition

          Fetch the hero of Star Wars

          Fetch the hero of a specific film (with nested friends of friends)

Resources

        GraphQL Plug Hex Package

        GraphQL Plug Docs

        GraphQL Plug Source

        GraphQL Core Hex Package

        GraphQL Core Docs

        GraphQL Core Source

        GraphQL Spec

Help

        Erlang channel on the GraphQL Slack

Welcome to GraphQL Elixir!

A better way to build blazing fast APIs.

Hello World Example

        /graphql/hello?query={greeting}

        /graphql/hello?query={greeting(name:"Joe")}

Simple Blog Example

        /graphql/blog?query={article(id:"1"){id,title,body,author{name}}}

        /graphql/blog?query={feed{title,body},article(id:1){id,title,body,author{name}}}

Simple Ecto Example

          /graphql/ecto?query={greeting(id:2)}

          /graphql/ecto?query={greeting(name:"Garrett1")}

Star Wars Example

          /graphql/starwars?query={hero{name}}

          /graphql/starwars?query={hero(episode:EMPIRE){name}}

Resources

        GraphQL Plug Hex Package

        GraphQL Plug Docs

        GraphQL Plug Source

        GraphQL Core Hex Package

        GraphQL Core Docs

        GraphQL Core Source

        GraphQL Spec

Help

        Erlang channel on the GraphQL Slack


Tweak appearance form layout to fit birthdate fields better

<appearance-panels
  v-for="(appearance, index) in appearances"
  v-bind:index="index"
  v-bind:appearance="appearances[index]"
  v-bind:birthdate_year_options="birthdate_year_options"
  v-bind:birthdate_month_options="birthdate_month_options"
  v-bind:role_options="role_options"
  v-bind:instrument_options="instrument_options"
  v-bind:errors="(errors.appearances && errors.appearances[index]) || {}"
  v-on:remove-appearance="removeAppearance"
  inline-template>

      <button
        type="button"
        class="btn btn-xs btn-danger pull-right"
        v-on:click="$emit('remove-appearance', index)">

      </button>

          {{panelTitle}}

              <%= gettext("First name") %>

            <input
              type="text"
              class="form-control"
              v-bind:id="fieldId('participant', 'given_name')"
              v-bind:name="fieldName('participant', 'given_name')"
              v-model="appearance.participant.given_name">
            <form-field-error v-bind:errors="errors.participant && errors.participant.given_name" />
            </form-field-error>

              <%= gettext("Last name") %>

            <input
              type="text"
              class="form-control"
              v-bind:id="fieldId('participant', 'family_name')"
              v-bind:name="fieldName('participant', 'family_name')"
              v-model="appearance.participant.family_name">
            <form-field-error v-bind:errors="errors.participant && errors.participant.family_name">
            </form-field-error>

              <%= gettext("Birthdate") %>

                <select
                  class="form-control"
                  v-bind:id="fieldId('participant', 'birthdate', 'day')"
                  v-bind:name="fieldName('participant', 'birthdate', 'day')"
                  v-model="birthdateDay">
                  <option value=""><%= gettext("Day") %></option>
                  <option
                    v-for="day in daysInBirthdateMonth"
                    v-bind:value="day"
                    v-text="formatDay(day)"></option>
                </select>

                <select
                  class="form-control"
                  v-bind:name="fieldName('participant', 'birthdate', 'month')"
                  v-model="birthdateMonth">
                  <option value=""><%= gettext("Month") %></option>
                  <option
                    v-for="option in birthdate_month_options"
                    v-bind:value="option.value"
                    v-text="option.label"></option>
                </select>

                <select
                  class="form-control"
                  v-bind:name="fieldName('participant', 'birthdate', 'year')"
                  v-model="birthdateYear">
                  <option value=""><%= gettext("Year") %></option>
                  <option
                    v-for="year in birthdate_year_options"
                    v-bind:value="year"
                    v-text="year"></option>
                </select>

                <form-field-error v-bind:errors="errors.participant && errors.participant.birthdate">
                </form-field-error>

              <%= gettext("Role") %>

            <select
              class="form-control"
              v-bind:id="fieldId('role')"
              v-bind:name="fieldName('role')"
              v-model="appearance.role">
              <option value=""><%= gettext("Please choose") %></option>
              <option
                v-for="option in role_options"
                v-bind:value="option.id"
                v-text="option.label"></option>
            </select>
            <form-field-error v-bind:errors="errors.role"></form-field-error>

              <%= gettext("Instrument") %>

            <select
              class="form-control"
              v-bind:id="fieldId('instrument')"
              v-bind:name="fieldName('instrument')"
              v-model="appearance.instrument">
              <option value=""><%= gettext("Please choose") %></option>
              <option
                v-for="option in instrument_options"
                v-bind:value="option.value"
                v-text="option.label"></option>
            </select>
            <form-field-error v-bind:errors="errors.instrument"></form-field-error>

              <%= gettext("Phone") %>

            <input
              type="text"
              class="form-control"
              v-bind:id="fieldId('participant', 'phone')"
              v-bind:name="fieldName('participant', 'phone')"
              v-model="appearance.participant.phone">
            <form-field-error v-bind:errors="errors.participant && errors.participant.phone">
            </form-field-error>

              <%= gettext("E-Mail") %>

            <input
              type="email"
              class="form-control"
              v-bind:id="fieldId('participant', 'email')"
              v-bind:name="fieldName('participant', 'email')"
              v-model="appearance.participant.email">
            <form-field-error v-bind:errors="errors.participant && errors.participant.email">
            </form-field-error>

</appearance-panels>


feat(admin): add new object link for each site

<%= for site <- @object_tree do %>

    <a class="nav-link <%= active_class(@conn, admin_path(@conn, :edit, "sites", site.id)) %>"
       href="<%= admin_path(@conn, :edit, "sites", site.id) %>"
    >
      site → <%= site.name %> (current)

  <%= for object <- site.children do %>

      <a class="nav-link <%= active_class(@conn, admin_path(@conn, :edit, "objects", object.id)) %>"
         href="<%= admin_path(@conn, :edit, "objects", object.id) %>"
      >
        <%= object.full_path %> (current)

  <% end %>

    <a class="nav-link <%= active_class(@conn, admin_path(@conn, :new, "objects", site_id: site.id)) %>"
       href="<%= admin_path(@conn, :new, "objects", site_id: site.id) %>"
    >
       New Object (current)

<% end %>

<%= for site <- @object_tree do %>

    <a class="nav-link <%= active_class(@conn, admin_path(@conn, :edit, "sites", site.id)) %>"
       href="<%= admin_path(@conn, :edit, "sites", site.id) %>"
    >
      site → <%= site.name %> (current)

  <%= for object <- site.children do %>

      <a class="nav-link <%= active_class(@conn, admin_path(@conn, :edit, "objects", object.id)) %>"
         href="<%= admin_path(@conn, :edit, "objects", object.id) %>"
      >
        <%= object.full_path %> (current)

  <% end %>

<% end %>


Update privacy policy

Update privacy policy

Privacy Policy

This privacy policy describes how Action for Children protects and makes use of the information you give us when you use this service.

Action for Children is committed to protecting the privacy of its supporters and stakeholders. We fully comply with the Data Protection Act 2018 and applicable data privacy legislation.

This policy is updated from time to time. The latest version will always be published on this page. This privacy policy was updated on 20 June 2019.

If you have any questions about this policy, please email  dataprotection@actionforchildren.org.uk or write to: Action For Children, 3 The Boulevard, Ascot Road, Watford WD18 8AG.

We gather and use certain information about you in order to provide this service and enable functions on this website. We also collect information and report on service use in order to better understand how you are using this service and so that we can make timely and relevant improvements.

How do we collect personal information?

We only collect personal information when you specifically provide it to us. This may happen when you are having a conversation with us or when we ask you to fill out forms on the service.

What information we gather

We may collect and store the following information:

Name

Email address

Location

Age of children

Website usage data

Conversation transcripts

Other information relevant to the service

We also may collect Special Category Data (SCD) which includes health data in order to target the support you require including health services. The legal basis for collecting this information is consent and the special condition as required by data privacy legislation is your explicit consent

How we use this data

Collecting this information allows us to provide the service for you and understand how users may interact with the service so that we can improve the service in future.

Specifically, we may use data:

To provide the service to you

To signpost you to appropriate local services

To escalate safeguarding concerns

To contact you in response to a specific enquiry

To evaluate the service

To improve the service we provide

To contact you for feedback

What do we do with your personal information?

We are legally obliged by the Data Protection Act 2018 to make sure that we only use your information for the purpose for which it was requested, and to make sure it is kept securely.

Your personal information, conversations and notes will be stored on Intercom (the platform for the service) and Action for Children servers and only shared with partner organisations: Department of Work and Pension, health services, and children’s agencies, for the purpose of contacting families to provide appropriate and timely services, evaluate service provision and for statistical analysis. You will be informed of any organisations that we intend to refer you to.

Under the Data Protection Act 2018, any confidential information regarding your family will not be passed onto organisations outside of Children's Services partners, as mentioned above, where possible without your consent.

How long will we keep your information?

We only keep your information up to a maximum of six years.

Your information rights

You can ask to see any information Action for Children holds about you, to have information corrected or erased. We are responsible for protecting your personal information, and we take this responsibility very seriously.
If you have any queries or concerns about how we use your personal information, please contact the Information Governance Officer by email at dataprotection@actionforchildren.org.uk, or write to us at: Information Governance Officer, Action for Children, 3 The Boulevard, Ascot Road, Watford, WD18 8AG.

You have the right to withdraw your consent at any time.

For more information about your information rights please visit https://ico.org.uk/ or if you are unhappy with how we've handled your personal information, you have the right to contact the Information Commissioner's Office to lodge a complaint.

Cookies and how we use them

What is a cookie?

A cookie is a small file placed on your computer's hard drive. It enables us to identify your computer as you view different pages on our website.

Cookies enable us to see information like how many people use the website/service and how people use it.

How we use cookies

We may use cookies to:

Analyse our web traffic using Google Analytics. Aggregated usage data helps us improve the website structure, design, content and functions.

Identify whether you are signed in to our website.

Store information about your preferences. The website can then present you with information you will find more relevant and interesting.

To recognise when you return to our website.

Cookies do not provide us with access to your computer or any information about you, other than that which you choose to share with us.

Controlling cookies

You can use your web browser's cookie settings to determine how our website uses cookies. If you do not want our website to store cookies on your computer or device, you should set your web browser to refuse cookies.

Links from the site

Our website may contain links to other websites. You may also be sent links during your conversations with us to other websites.

Please note that we have no control of websites outside the Action for Children domain. If you provide information to a website to which we link, we are not responsible for its protection and privacy.

Always be wary when submitting data to websites. Read the site's data protection and privacy policies fully.


Add timing information to debug output

Add timing information to debug output

#!/usr/bin/env bash

set -o posix
set -e

unset CDPATH

SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)"
RELEASE_ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
RELEASES_DIR="$RELEASE_ROOT_DIR/releases"
REL_NAME="${REL_NAME:-<%= release_name %>}"
REL_VSN="${REL_VSN:-$(cut -d' ' -f2 "$RELEASES_DIR"/start_erl.data)}"
ERTS_VSN="${ERTS_VSN:-$(cut -d' ' -f1 "$RELEASES_DIR"/start_erl.data)}"
<%= if (include_erts == false or is_nil(erts_vsn)) do %>USE_HOST_ERTS=true<% end %>
# The location of consolidated protocol .beams
CONSOLIDATED_DIR="$ROOT/lib/${REL_NAME}-${REL_VSN}/consolidated"

export RELEASE_ROOT_DIR
export RELEASES_DIR
export REL_NAME
export REL_VSN
export ERTS_VSN
export USE_HOST_ERTS
export DEBUG_BOOT
export CONSOLIDATED_DIR

# Set DEBUG_BOOT to output verbose debugging info during execution
if [ ! -z "$DEBUG_BOOT" ]; then
    export PS4='+\D{%s} '
    set -x
fi

# Ensure TERM is set to something usable
# for remote shells. The only time we'll
# override this value is if it is set to "dumb"
export TERM="${TERM:-xterm}"
if [ "$TERM" = "dumb" ]; then
    TERM=xterm
fi

# Include helpers, if the current release version supports it
if [ -d "$RELEASES_DIR/$REL_VSN/libexec" ]; then
    # shellcheck source=../libexec/readlink.sh
    . "$RELEASES_DIR/$REL_VSN/libexec/readlink.sh"
    # shellcheck source=../libexec/logger.sh
    . "$RELEASES_DIR/$REL_VSN/libexec/logger.sh"
    # shellcheck source=../libexec/erts.sh
    . "$RELEASES_DIR/$REL_VSN/libexec/erts.sh"
    OTP_VER="$(otp_vsn)"
else
    # For backwards compatibility, do not perform the OTP check
    # If the active release version was built with an older Distillery
    OTP_VER="0"
fi
export OTP_VER

exec "$RELEASES_DIR/$REL_VSN/$REL_NAME.sh" "$@"

#!/usr/bin/env bash

set -o posix
set -e

unset CDPATH

SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)"
RELEASE_ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
RELEASES_DIR="$RELEASE_ROOT_DIR/releases"
REL_NAME="${REL_NAME:-<%= release_name %>}"
REL_VSN="${REL_VSN:-$(cut -d' ' -f2 "$RELEASES_DIR"/start_erl.data)}"
ERTS_VSN="${ERTS_VSN:-$(cut -d' ' -f1 "$RELEASES_DIR"/start_erl.data)}"
<%= if (include_erts == false or is_nil(erts_vsn)) do %>USE_HOST_ERTS=true<% end %>
# The location of consolidated protocol .beams
CONSOLIDATED_DIR="$ROOT/lib/${REL_NAME}-${REL_VSN}/consolidated"

export RELEASE_ROOT_DIR
export RELEASES_DIR
export REL_NAME
export REL_VSN
export ERTS_VSN
export USE_HOST_ERTS
export DEBUG_BOOT
export CONSOLIDATED_DIR

# Set DEBUG_BOOT to output verbose debugging info during execution
if [ ! -z "$DEBUG_BOOT" ]; then
    set -x
fi

# Ensure TERM is set to something usable
# for remote shells. The only time we'll
# override this value is if it is set to "dumb"
export TERM="${TERM:-xterm}"
if [ "$TERM" = "dumb" ]; then
    TERM=xterm
fi

# Include helpers, if the current release version supports it
if [ -d "$RELEASES_DIR/$REL_VSN/libexec" ]; then
    # shellcheck source=../libexec/readlink.sh
    . "$RELEASES_DIR/$REL_VSN/libexec/readlink.sh"
    # shellcheck source=../libexec/logger.sh
    . "$RELEASES_DIR/$REL_VSN/libexec/logger.sh"
    # shellcheck source=../libexec/erts.sh
    . "$RELEASES_DIR/$REL_VSN/libexec/erts.sh"
    OTP_VER="$(otp_vsn)"
else
    # For backwards compatibility, do not perform the OTP check
    # If the active release version was built with an older Distillery
    OTP_VER="0"
fi
export OTP_VER

exec "$RELEASES_DIR/$REL_VSN/$REL_NAME.sh" "$@"


fix: typo

fix: typo

<img src="<%= static_path(@conn, "/images/christian-kruse.jpg") %>" alt="Christian Kruse" class="big">

    Welcome. On this page you can find my
    <%= link "software projects", to: page_path(@conn, :software) %>,
    my <%= link "articles", to: article_path(@conn, :index) %>,
    my <%= link "notes", to: note_path(@conn, :index) %> and my
    <%= link "pictures", to: picture_path(@conn, :index) %>.

    My name is Christian Kruse. I work as a software developer and
    system administator at <%= link "Termitel GmbH", to: "https://termitel.de/" %>.
    I live in Germany in a small town called
    <%= link "Steinfurt", to: "https://en.wikipedia.org/wiki/Steinfurt" %>.

    I am passionate about software development,
    <%= link "GNU/Linux", to: "https://en.wikipedia.org/wiki/Linux" %>,
    <%= link "FLOSS", to: "https://en.wikipedia.org/wiki/Free_and_open-source_software" %>
    as well as <%= link "OS X", to: "https://en.wikipedia.org/wiki/OS_X" %>.
    I am also a do-it-yourself apologetic: I did a lot of things in and
    around my house myself. I love the hacker culture. And last but not
    least I am a dog owner.

    This is my personal replacement for Twitter, Facebook and the other
    data silos. <%= link "My content is mine", to: "http://indiewebcamp.com/" %>
    — so if you are interested in my activity, just have a look at this
    page.

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

Last Article

    <%= render(WwwtechWeb.ArticleView, "article.html",
               article: @article, home: true, conn: @conn,
               index: true) %>

<% end %>

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

What's new

<%= link to: page_path(@conn, :index) <> "whatsnew.atom" do %><img src="<%= static_path(@conn, "/images/atom-feed-icon.gif") %>" alt="Atom Feed"><% end %>

    <%= for this_day <- @days do %>
      <%= for item <- @entries_by_day[this_day] do %>

            <%= if item == List.first(@entries_by_day[this_day]) do %>

                <%= cond do %>
                <% item |> Wwwtech.Notes.Note.today? -> %>
                  Today
                <% item |> Wwwtech.Notes.Note.yesterday? -> %>
                  Yesterday
                <% true -> %>
                  <%= Timex.format!(item.inserted_at, "%Y-%m-%d", :strftime) %>
                <% end %>

            <% end %>

            <%= cond do %>
              <% item.__struct__ == Wwwtech.Likes.Like -> %><%= render(WwwtechWeb.LikeView, "like.html", like: item, conn: @conn, home: true, index: true) %>
              <% item.__struct__ == Wwwtech.Pictures.Picture -> %><%= render(WwwtechWeb.PictureView, "picture.html", picture: item, conn: @conn, home: true, index: true) %>
              <% item.__struct__ == Wwwtech.Notes.Note -> %><%= render(WwwtechWeb.NoteView, "note.html", note: item, conn: @conn, home: true, index: true) %>
              <% true -> %>
            <% end %>

      <% end %>
    <% end %>

<% end %>

<img src="<%= static_path(@conn, "/images/christian-kruse.jpg") %>" alt="Christian Kruse" class="big">

    Welcome. On this page you can find my
    <%= link "software projects", to: page_path(@conn, :software) %>,
    my <%= link "articles", to: article_path(@conn, :index) %>,
    my <%= link "notes", to: note_path(@conn, :index) %> and my
    <%= link "pictures", to: picture_path(@conn, :index) %>.

    My name is Christian Kruse. I work as a software developer and
    system administator at <%= link "Termitel GmbH", to: "https://termitel.de/" %>.
    I live in Germany in a small town called
    <%= link "Steinfurt", to: "https://en.wikipedia.org/wiki/Steinfurt" %>.

    I am passionate about software development,
    <%= link "GNU/Linux", to: "https://en.wikipedia.org/wiki/Linux" %>,
    <%= link "FLOSS", to: "https://en.wikipedia.org/wiki/Free_and_open-source_software" %>
    as well as <%= link "OS X", to: "https://en.wikipedia.org/wiki/OS_X" %>.
    I am also a do-it-yourself apologetic: I did a lot of things in and
    around my house myself. I love the hacker culture. And last but not
    least I am a dog owner.

    This is my personal replacement for Twitter, Facebook and the other
    data silos. <%= link "My content is mine", to: "http://indiewebcamp.com/" %>
    — so if you are interested in my activity, just have a look at this
    page.

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

Last Article

    <%= render(WwwtechWeb.ArticleView, "article.html",
               article: @article, home: true, conn: @conn,
               index: true) %>

<% end %>

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

What's new

<%= link to: page_path(@conn, :index) <> "whatsnew.atom" do %><img src="<%= static_path(@conn, "/images/atom-feed-icon.gif") %>" alt="Atom Feed"><% end %>

    <%= for this_day <- @days do %>
      <%= for item <- @entries_by_day[this_day] do %>

            <%= if item == List.first(@entries_by_day[this_day]) do %>

                <%= cond do %>
                <% item |> Wwwtech.Notes.Note.today? -> %>
                  Today
                <% item |> Wwwtech.Notes.Note.yesterday? -> %>
                  Yesterday
                <% true -> %>
                  <%= Timex.format!(item.inserted_at, "%Y-%m-%d", :strftime) %>
                <% end %>

            <% end %>

            <%= cond do %>
              <% item.__struct__ == Wwwtech.Likes.Like -> %><%= render(Wwwtech.Likes.LikeView, "like.html", like: item, conn: @conn, home: true, index: true) %>
              <% item.__struct__ == Wwwtech.Pictures.Picture -> %><%= render(WwwtechWeb.PictureView, "picture.html", picture: item, conn: @conn, home: true, index: true) %>
              <% item.__struct__ == Wwwtech.Notes.Note -> %><%= render(WwwtechWeb.NoteView, "note.html", note: item, conn: @conn, home: true, index: true) %>
              <% true -> %>
            <% end %>

      <% end %>
    <% end %>

<% end %>


url glitch

url glitch

<a href="https://steemit.com/@(<%= post.author %>)/(<%= post.permlink %>)"><%= post.permlink %>

Author: <a href="https://steemit.com/@(<%= post.author %>)/"><%= post.author %>

      <%= raw(@post.body) %>

		  Home
		  /
		  Author
		  /

<a href="https://beyondboinc.net/authors/(@<%= post.author %>)/"><%= post.author %>

		  /

<a href="https://steemit.com/@(<%= post.author %>)/(<%= post.permlink %>)"><%= post.permlink %>

<a href="https://steemit.com/@<%= post.author %>/<%= post.permlink %>"><%= post.permlink %>

Author: <a href="https://steemit.com/@<%= post.author %>/"><%= post.author %>

      <%= raw(@post.body) %>

		  Home
		  /
		  Author
		  /

<a href="https://beyondboinc.net/authors/@<%= post.author %>/"><%= post.author %>

		  /

<a href="https://steemit.com/@<%= post.author %>/<%= post.permlink %>"><%= post.permlink %>


Updated placeholder text in entry form

Updated placeholder text in entry form

Add your information!

    Enter your information to be included in the student directory. All fields are optional.
    <%= if @support_email do %>

Questions or comments? Email <a href='mailto:<%= @support_email %>?Subject=Support'>
        <%= @support_email %>
    <% end %>

  <%= form_for @conn, "/", [as: :entry, class: "form-horizontal"],  fn _ -> %>

        <button id="add-student-button" type="button" class="btn btn-default btn-small pull-right">
           Add Another Student
        </button>

Student Information

        <button id="add-parent-button" type="button" class="btn btn-default btn-small pull-right">
           Add Another Parent
        </button>

Parent Information

Notes

            Notes

              <textarea name="entry[notes]" id="notes" rows="3" class="form-control" placeholder="Anything you want the fine folks compiling the directory to know. Let us know if you are on the PTO, a classroom representative, on the School Committee, on the School Council, or on the Safety Committee."></textarea>

        <button type="submit" class="btn btn-lg btn-success btn-block">Submit</button>

<% end %>

Add your information!

    Enter your information to be included in the student directory. All fields are optional.
    <%= if @support_email do %>

Questions or comments? Email <a href='mailto:<%= @support_email %>?Subject=Support'>
        <%= @support_email %>
    <% end %>

  <%= form_for @conn, "/", [as: :entry, class: "form-horizontal"],  fn _ -> %>

        <button id="add-student-button" type="button" class="btn btn-default btn-small pull-right">
           Add Another Student
        </button>

Student Information

        <button id="add-parent-button" type="button" class="btn btn-default btn-small pull-right">
           Add Another Parent
        </button>

Parent Information

Notes

            Notes

              <textarea name="entry[notes]" id="notes" rows="3" class="form-control" placeholder="Anything you want the fine folks compiling the directory to know"></textarea>

        <button type="submit" class="btn btn-lg btn-success btn-block">Submit</button>

<% end %>


One more place that `@conn` works instead of Gatekeeper.Endpoint

*shrug*

Edit member

<%= render "form.html", changeset: @changeset,
                        action: company_member_path(@conn, :update, @company, @member) %>

<%= link "Back", to: company_path(@conn, :index) %>

Edit member

<%= render "form.html", changeset: @changeset,
                        action: company_member_path(Gatekeeper.Endpoint, :update, @company, @member) %>

<%= link "Back", to: company_path(@conn, :index) %>


Add empty state message for article list

Manage your preferences

      <%= link "back to \"How Post Works\"", to: page_path(@conn, :index) %>

Manage your preferences

        <%= form_for team_changeset(@current_team), preference_path(@conn, :update), fn form -> %>

View Count Spike

            Notify me when there is an increase of at least <%= text_input form, :min_view_count_increase, class: "preferences__input", autofocus: "true" %> views,
            and there is pageview increase of <%= text_input form, :view_count_threshold, class: "preferences__input" %>% or more.

Source Spike

            Notify me when there is difference of at least <%= text_input form, :min_source_count_increase, class: "preferences__input", autofocus: "true" %> views,
            and more than <%= text_input form, :source_count_threshold, class: "preferences__input" %>% of views coming from one particular site.

            <%= submit "Submit" %>

        <% end %>

Your registered articles

        <%= if Enum.any?(@articles) do %>

              <%= for article <- @articles do %>

                  <%= article.url %>

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

              <% end %>

        <% else %>

[You haven't added any articles yet - once you add some they'll show up here]

        <% end %>

      <%= render EspiDni.SharedView, "feedback_link.html" %>

Manage your preferences

      <%= link "back to \"How Post Works\"", to: page_path(@conn, :index) %>

Manage your preferences

        <%= form_for team_changeset(@current_team), preference_path(@conn, :update), fn form -> %>

View Count Spike

            Notify me when there is an increase of at least <%= text_input form, :min_view_count_increase, class: "preferences__input", autofocus: "true" %> views,
            and there is pageview increase of <%= text_input form, :view_count_threshold, class: "preferences__input" %>% or more.

Source Spike

            Notify me when there is difference of at least <%= text_input form, :min_source_count_increase, class: "preferences__input", autofocus: "true" %> views,
            and more than <%= text_input form, :source_count_threshold, class: "preferences__input" %>% of views coming from one particular site.

            <%= submit "Submit" %>

        <% end %>

Your registered articles

            <%= for article <- @articles do %>

                <%= article.url %>

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

            <% end %>

      <%= render EspiDni.SharedView, "feedback_link.html" %>