Files @ e77f5cd50f1f
Branch filter:

Location: kallithea/kallithea/templates/journal/journal_data.html

mads
style: change some div to span to make it inline and look better without custom styling - especially around gravatars
## -*- coding: utf-8 -*-

%if c.journal_day_aggregate:
    %for day,items in c.journal_day_aggregate:
        <h4>${day}</h4>
        % for user,entries in items:
            <div class="container-fluid">
                ${h.gravatar_div(user.email if user else 'anonymous@kallithea-scm.org', size=24)}
                %if user:
                    <span class="journal_user">${user.name} ${user.lastname}</span>
                %else:
                    <span class="journal_user deleted">${entries[0].username}</span>
                %endif
                % for entry in entries:
                  <div class="clearfix">
                    <div class="pull-left">
                      <div class="journal_icon"> ${h.action_parser(entry)[2]()}</div>
                    </div>
                    <div class="pull-left">
                      <div class="journal_action">${h.action_parser(entry)[0]()}</div>
                      <div class="journal_repo">
                          <span class="journal_repo_name">
                          %if entry.repository is not None:
                            ${h.link_to(entry.repository.repo_name,
                                        h.url('summary_home',repo_name=entry.repository.repo_name))}
                          %else:
                            ${entry.repository_name}
                          %endif
                          </span>
                      </div>
                      <div class="journal_action_params">${h.literal(h.action_parser(entry)[1]())}</div>
                      <div class="date"><span data-toggle="tooltip" title="${h.fmt_date(entry.action_date)}">${h.age(entry.action_date)}</span></div>
                    </div>
                  </div>
                %endfor
            </div>
        %endfor
    %endfor

    <ul class="pagination">
        ${c.journal_pager.pager()}
    </ul>
%else:
  <div>
      ${_('No entries yet')}
  </div>
%endif