Files @ 80a15e10857a
Branch filter:

Location: kallithea/kallithea/templates/pullrequests/pullrequest_show_my.html

domruf
style: in preparation for bootstrap, replace kallithea box with bootstrap compatible panel

This is a subset of a bigger changeset. The subset was extracted by Mads Kiilerich, mostly by:

sed -i \
-e 's,<div\(.*\) class="box",<div\1 class="panel panel-primary",g' \
`hg mani`
<%inherit file="/base/base.html"/>

<%namespace name="pullrequest_data" file="pullrequest_data.html"/>

<%block name="title">
    ${_('My Pull Requests')}
</%block>

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

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

<%def name="main()">

<div class="panel panel-primary">
    <!-- box / title -->
    <div class="title">
        ${self.breadcrumbs()}
    </div>

    <div class="normal-indent">
        <div>
        %if c.closed:
            ${h.link_to(_('Hide closed pull requests (only show open pull requests)'), h.url('my_pullrequests'))}
        %else:
            ${h.link_to(_('Show closed pull requests (in addition to open pull requests)'), h.url('my_pullrequests',closed=1))}
        %endif
        </div>
    </div>

    <div class="pullrequests_section_head">${_('Pull Requests Created by Me')}</div>
    ${pullrequest_data.pullrequest_overview(c.my_pull_requests)}

    <div class="pullrequests_section_head" style="clear:both">${_('Pull Requests Needing My Review')}</div>
    ${pullrequest_data.pullrequest_overview(c.participate_in_pull_requests_todo)}

    <div class="pullrequests_section_head" style="clear:both">${_('Pull Requests I Participate In')}</div>
    ${pullrequest_data.pullrequest_overview(c.participate_in_pull_requests)}

</div>
</%def>