<commit_before><div class="row">
  <div class="col-12">
    <h2>
      <span class="badge badge-secondary mr-3">
        <%= t('basics.teacher') %>
      </span>
      <%= @teacher.name %>
    </h2>
  </div>
</div>
<div class="row pt-3 pb-2">
  <div class="col-12 col-md-6 col-lg-4 pt-3">
    <div class="card bg-light">
      <div class="card-header bg-generic-card-header">
        <h5>
          <%= t('basics.information') %>
        </h5>
      </div>
      <%= image_tag('/unknown-person.gif',
                    width: '128',
                    alt: "Card image cap",
                    class: 'mx-auto pt-3') %>
      <div class="card-body">
        <ul>
          <% if @teacher.homepage.present? %>
            <li>
              <%= link_to t('admin.user.homepage'),
                          @teacher.homepage,
                          class: 'text-dark' %>
            </li>
          <% end %>
          <% unless @teacher.archived %>
            <li>
              <%= t('basics.email') %>:
              <%= mail_to @teacher.email,
                          nil,
                          class: 'text-dark' %>
            </li>
          <% end %>
        </ul>
      </div>
    </div>
  </div>
  <% unless @teacher.lectures.empty? %>
    <div class="col-12 col-md-6 col-lg-4 pt-3">
      <%= render partial: 'lectures/lectures',
                 locals: { lectures: @teacher.given_lectures_by_date,
                           type: 'lecture_info'} %>
    </div>
  </div>
<% end %><commit_msg>fixes the second part (UX) of issue #115<commit_after><div class="row">
  <div class="col-12">
    <h2>
      <span class="badge badge-secondary mr-3">
        <%= t('basics.teacher') %>
      </span>
      <%= @teacher.name %>
    </h2>
  </div>
</div>
<div class="row pt-3 pb-2">
  <div class="col-12 col-md-6 col-lg-4 pt-3">
    <div class="card bg-light">
      <div class="card-header bg-generic-card-header">
        <h5>
          <%= t('basics.information') %>
        </h5>
      </div>
      <%= image_tag('/unknown-person.gif',
                    width: '128',
                    alt: "Card image cap",
                    class: 'mx-auto pt-3') %>
      <div class="card-body">
        <ul>
          <% if @teacher.homepage.present? %>
            <li>
              <%= t('admin.user.homepage') %>:
              <%= link_to @teacher.homepage,
                          @teacher.homepage,
                          class: 'text-dark' %>
            </li>
          <% end %>
          <% unless @teacher.archived %>
            <li>
              <%= t('basics.email') %>:
              <%= mail_to @teacher.email,
                          nil,
                          class: 'text-dark' %>
            </li>
          <% end %>
        </ul>
      </div>
    </div>
  </div>
  <% unless @teacher.lectures.empty? %>
    <div class="col-12 col-md-6 col-lg-4 pt-3">
      <%= render partial: 'lectures/lectures',
                 locals: { lectures: @teacher.given_lectures_by_date,
                           type: 'lecture_info'} %>
    </div>
  </div>
<% end %>
{'fraction_non_alphanumeric': 0.17996768982229402, 'fraction_numerical': 0.015831987075928918, 'mean_word_length': 1.3173652694610778, 'pattern_counts': {'":': 0, '<': 88, '<?xml version=': 0, '>': 88, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2113920', 'n_tokens_mistral': 1083, 'n_tokens_neox': 1008, 'n_words': 188}