Changeset - 22d96f6fd2d1
[Not reviewed]
default
0 2 0
Mads Kiilerich - 10 years ago 2015-09-03 21:43:20
madski@unity3d.com
pull requests: remove immediate invocation of the function defined in pullrequest_data.html

pullrequest_data.html behaved differently when included and when used as
namespace. Keep it simple and just let it define the pullrequest_overview
function.
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/pullrequests/pullrequest_data.html
Show inline comments
 
@@ -88,5 +88,3 @@
 
%endif
 

	
 
</%def>
 

	
 
${pullrequest_overview(c.pullrequests_pager)}
kallithea/templates/pullrequests/pullrequest_show_all.html
Show inline comments
 
<%inherit file="/base/base.html"/>
 

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

	
 
<%block name="title">
 
    ${_('%s Pull Requests') % c.repo_name}
 
</%block>
 
@@ -51,7 +53,7 @@ ${self.repo_context_bar('showpullrequest
 
        </div>
 
    </div>
 

	
 
    <%include file='pullrequest_data.html'/>
 
    ${pullrequest_data.pullrequest_overview(c.pullrequests_pager)}
 

	
 
</div>
 
</%def>
0 comments (0 inline, 0 general)