<commit_before><!DOCTYPE html>
<html>
<head>
    {% load i18n %}
    {% load staticfiles %}
    <meta charset="utf-8">
    <title>User | {% block title %}Books{% endblock %}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- Le styles -->
    <link href="{{STATIC_URL}}bootstrap/css/bootstrap.css" rel="stylesheet">
    <link href="{{STATIC_URL}}bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
    <style type="text/css">
       body {padding-top: 60px;}
    </style>

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script src="{{STATIC_URL}}js/jquery-1.8.1.min.js" type="text/javascript"></script>
    {% block extrahead %}
    {% endblock %}
</head>

<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
          {# <a class="brand" href="/polls">Polls</a> #}
          <div class="nav-collapse collapse">
            <ul class="nav">
              {# <li><a href="{% url 'polls:polls_created_by_me' %}">Polls Created by me</a></li> #}
            </ul>
            {% if not user.is_authenticated %}
                <ul class="nav pull-right dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
                    <li><a tabindex="-1" href="{% url 'accounts:beneficiary' %}">Beneficiary</a></li>
                    <li><a tabindex="-1" href="{% url 'accounts:donor' %}">Donor</a></li>
                </ul>
                <ul class="nav pull-right">
                    <li><a class= "btn-primary" href="{% url 'accounts:login' %}"><i class="icon-user icon-white"></i>&nbsp;&nbsp;Login</a></li>  
                </ul>
            {% else %}
                <ul class="nav">
                    <li><a class= "btn-primary" href="{% url 'people:list_of_donors' %}">Donors</a></li>  
                </ul>
                <ul class="nav">
                    <li><a class= "btn-primary" href="{% url 'people:list_of_bnfs' %}">Beneficiaries</a></li>  
                </ul>
                <ul class="nav">
                    <li><a class= "btn-primary" href="{% url 'books:listofbooks' %}">Books</a></li>  
                </ul>
                {% if user.is_staff %}
                    <ul class="nav">
                        <li><a class= "btn-primary" href="{% url 'unapproved' %}">Unactivated Users</a></li>  
                    </ul>
                {% endif %}
                    <ul class="nav">
                        {# <li><a class= "btn-primary" href="{% url 'list_of_campaigns' %}">Campaigns</a></li>   #}
                    </ul>
                <ul class="nav pull-right">
                    <li><a class= "btn-primary" href="{% url 'accounts:logout' %}"><i class="icon-user icon-white"></i>&nbsp;&nbsp;Logout</a></li>  
                </ul>
            {% endif %}    
          </div>
        </div><commit_msg>Added Campaigns link<commit_after><!DOCTYPE html>
<html>
<head>
    {% load i18n %}
    {% load staticfiles %}
    <meta charset="utf-8">
    <title>User | {% block title %}Books{% endblock %}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- Le styles -->
    <link href="{{STATIC_URL}}bootstrap/css/bootstrap.css" rel="stylesheet">
    <link href="{{STATIC_URL}}bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
    <style type="text/css">
       body {padding-top: 60px;}
    </style>

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script src="{{STATIC_URL}}js/jquery-1.8.1.min.js" type="text/javascript"></script>
    {% block extrahead %}
    {% endblock %}
</head>

<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
          {# <a class="brand" href="/polls">Polls</a> #}
          <div class="nav-collapse collapse">
            <ul class="nav">
              {# <li><a href="{% url 'polls:polls_created_by_me' %}">Polls Created by me</a></li> #}
            </ul>
            {% if not user.is_authenticated %}
                <ul class="nav pull-right dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
                    <li><a tabindex="-1" href="{% url 'accounts:beneficiary' %}">Beneficiary</a></li>
                    <li><a tabindex="-1" href="{% url 'accounts:donor' %}">Donor</a></li>
                </ul>
                <ul class="nav pull-right">
                    <li><a class= "btn-primary" href="{% url 'accounts:login' %}"><i class="icon-user icon-white"></i>&nbsp;&nbsp;Login</a></li>  
                </ul>
            {% else %}
                <ul class="nav">
                    <li><a class= "btn-primary" href="{% url 'people:list_of_donors' %}">Donors</a></li>  
                </ul>
                <ul class="nav">
                    <li><a class= "btn-primary" href="{% url 'people:list_of_bnfs' %}">Beneficiaries</a></li>  
                </ul>
                <ul class="nav">
                    <li><a class= "btn-primary" href="{% url 'books:listofbooks' %}">Books</a></li>  
                </ul>
                {% if user.is_staff %}
                    <ul class="nav">
                        <li><a class= "btn-primary" href="{% url 'unapproved' %}">Unactivated Users</a></li>  
                    </ul>
                {% endif %}
                {% if user.profile.is_beneficiary %}
                    <ul class="nav">
                        <li><a class= "btn-primary" href="{% url 'campaigns:list_of_campaigns' %}">Campaigns</a></li>  
                    </ul>
                {% endif %}    
                <ul class="nav pull-right">
                    <li><a class= "btn-primary" href="{% url 'accounts:logout' %}"><i class="icon-user icon-white"></i>&nbsp;&nbsp;Logout</a></li>  
                </ul>
            {% endif %}    
          </div>
        </div>
{'fraction_non_alphanumeric': 0.19759857693447969, 'fraction_numerical': 0.0056329676845538095, 'mean_word_length': 1.9081896551724138, 'pattern_counts': {'":': 0, '<': 205, '<?xml version=': 0, '>': 205, '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': '6469500', 'n_tokens_mistral': 2265, 'n_tokens_neox': 2050, 'n_words': 418}