<commit_before><%inherit file="membersOuter.mako" />
<%namespace file="_node_list.mako" import="node_list"/>
<div class="row">
     <div class="span6">
        <div class="page-header">
         <div style="float:right;"><a class="btn" href="/project/new">New Project</a></div>
         <h3 style="margin-bottom:10px;">Projects</h3>
        </div>
         % if user.node__contributed:
             ${node_list(reversed([p for p in user.node__contributed if p.category=='project']), default="user_dashboard")}
         %endif
     </div>
     <div class="row">
         <div class="span6">
            <div class="page-header">
             <h3 style="margin-bottom:10px;">Watched Projects</h3>
            </div>
         </div>
     </div>
</div>
<script><commit_msg>don't show registrations in user dashboard<commit_after><%inherit file="membersOuter.mako" />
<%namespace file="_node_list.mako" import="node_list"/>
<%
    if user.node__contributed:
        nodes = [
            node for node in user.node__contributed
            if node.category == 'project'
            and not node.is_registration
        ]
    else:
        nodes = []
%>
<div class="row">
     <div class="span6">
        <div class="page-header">
         <div style="float:right;"><a class="btn" href="/project/new">New Project</a></div>
         <h3 style="margin-bottom:10px;">Projects</h3>
        </div>
         % if nodes:
             ${node_list(reversed(nodes), default="user_dashboard")}
         %endif
     </div>
     <div class="row">
         <div class="span6">
            <div class="page-header">
             <h3 style="margin-bottom:10px;">Watched Projects</h3>
            </div>
         </div>
     </div>
</div>
<script>
{'fraction_non_alphanumeric': 0.1716937354988399, 'fraction_numerical': 0.01160092807424594, 'mean_word_length': 2.37573385518591, 'pattern_counts': {'":': 0, '<': 50, '<?xml version=': 0, '>': 50, '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': '2756337', 'n_tokens_mistral': 560, 'n_tokens_neox': 536, 'n_words': 104}