Files @ 1f3e993156e4
Branch filter:

Location: kallithea/kallithea/templates/followers/followers.html

Mads Kiilerich
js: omit redundant type="text/javascript"

We already used plain '<script>' in several places.

https://www.w3.org/TR/html52/semantics-scripting.html#element-attrdef-script-type :
"Authors should omit the attribute, instead of redundantly giving a JavaScript
MIME type."
## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>

<%block name="title">
    ${_('%s Followers') % c.repo_name}
</%block>

<%def name="breadcrumbs_links()">
    ${_('Followers')}
</%def>

<%block name="header_menu">
    ${self.menu('repositories')}
</%block>

<%def name="main()">
${self.repo_context_bar('followers')}
<div class="panel panel-primary">
    <div class="panel-heading clearfix">
        ${self.breadcrumbs()}
    </div>
    <div class="panel-body">
        <div id="followers">
            <%include file='followers_data.html'/>
        </div>
    </div>
</div>
<script>
  $(document).ready(function(){
    var $followers = $('#followers');
    $followers.on('click','.pager_link',function(e){
        asynchtml(e.target.href, $followers, function(){
            show_more_event();
            tooltip_activate();
        });
        e.preventDefault();
    });
  });
</script>
</%def>