<commit_before>{% extends 'base.html' %}
{% load staticfiles %}
{% load reference_instance %}
{% load disqus_tags %}
{% set_disqus_identifier 'research_' research_line.id %}
{% set_disqus_url research_line.get_absolute_url %}


{% block content %}

<div class="row">
	<div class="col-med-8 col-med-offset-2">
		<div class="row">
			<div class="col-med-8">
				<h2>{{ research_line.name }}</h2>
				<h3>{{ research_line.subtitle }}</h3>
				<p>{{ research_line.text }}
			</div>
			<div class="col-med-4">
				{% if research_line.avatar %}
					<a href="{% url 'image' research_line.avatar.slug %}">
						<img src="{{ MEDIA_URL }}{{ research_line.avatar.image }}" class="img-thumbnail"/>
					</a>
				{% endif %}
				
			</div>
		</div>
		{% for key, value in sections.items %}
			{% if key.avatar %}
				<div class="row">
					<div class="col-med-4">
						<a href="{% url 'image' key.avatar.slug %}"><img src="{{ MEDIA_URL }}{{ key.avatar.image }}" /></a>
						<p class="image-name">{{ key.avatar.name }}</p>
						<p class="image-caption">{{ key.avatar.caption }}</p>	
					</div>
					<div class="col-med-8">
						<h4>{{ key.name }}</h4>
						<p>{{ key.text }}</p>
					</div>
				</div>
			{% else %}
				<div class="row">
					<div class="col-med-12">
						<h4>{{ key.name }}</h4>
						<p>{{ key.text }}</p>
					</div>
				</div>
			{% endif %}
			{% if value %}
				{% for val in value %}
					{% if value.avatar %}
						<div class="row">
							<div class="col-med-8">
								<h5>{{ val.name }}</h5>
								<p>{{ val.text }}</p>
							</div>
							<div class="col-med-4">
								<a href="{% url 'image' value.avatar.slug %}"><img src="{{ MEDIA_URL }}{{ value.avatar.image }}" /></a>
								<p class="image-name">{{ value.avatar.name }}</p>
								<p class="image-caption">{{ value.avatar.caption }}</p>
							</div>
						</div>
					{% else %}
						<div class="row">
							<div class="col-med-12">
								<h5>{{ val.name }}</h5>
								<p>{{ val.text }}</p>
							</div>
						</div>	
					{% endif %}
				{% endfor %}
			{% endif %}
		{% endfor %}
		<div class="row">
			<div class="col-med-12">
				<h4>Bibliography</h4>
				{% for reference in references %}
					{% if reference|book_instance %}
						<p>{{ reference.authors }}, {{ reference.title }}, {{ reference.book_title }}</p><!--etc...-->
					{% else %}
						<p>{{ reference.authors }}, {{ reference.title }}, </p><!--etc...-->
					{% endif %}
				{% endfor %}
			</div>
		</div>
	</div> <!-- general offset -->
</div> <!--first fluid row -->

<div class="row">
    <div class="col-med-10 col-md-offset-1">    
        {% disqus_show_comments %}
    </div>
</div>

{% endblock %}<commit_msg>work in progress.<commit_after>{% extends 'base.html' %}
{% load staticfiles %}
{% load reference_instance %}
{% load disqus_tags %}
{% set_disqus_identifier 'research_' research_line.id %}
{% set_disqus_url research_line.get_absolute_url %}

{% block extra_links %}
    <link href="{% static 'css/research_line.css' %}" type = "text/css" rel="stylesheet"/>
{% endblock %}

{% block content %}
<body>
<div class="container">
	<div class="col-md-8 col-md-offset-2">
		<div class="row">
			<div class="col-md-8">
				<h2>{{ research_line.name }}</h2>
			</div>
			<div class="col-md-4 col-md-offset-3">
				{% if research_line.avatar %}
					<a href="{% url 'image' research_line.avatar.slug %}">
						<img src="{{ MEDIA_URL }}{{ research_line.avatar.image }}" class="img-thumbnail"/>
					</a>
				{% endif %}
			</div>
		</div>
		{% for key, value in sections.items %}
			{% if key.avatar %}
				<div class="row">
					<div class="col-md-4">
						<a href="{% url 'image' key.avatar.slug %}"><img src="{{ MEDIA_URL }}{{ key.avatar.image }}" /></a>
						<p class="image-name">{{ key.avatar.name }}</p>
						<p class="image-caption">{{ key.avatar.caption }}</p>	
					</div>
					<div class="col-md-8">
						<h4>{{ key.name }}</h4>
						<p>{{ key.text }}</p>
					</div>
				</div>
			{% else %}
				<div class="row">
					<div class="col-md-12">
						<h4>{{ key.name }}</h4>
						<p>{{ key.text }}</p>
					</div>
				</div>
			{% endif %}
			{% if value %}
				{% for val in value %}
					{% if value.avatar %}
						<div class="row">
							<div class="col-md-8">
								<h5>{{ val.name }}</h5>
								<p>{{ val.text }}</p>
							</div>
							<div class="col-md-4">
								<a href="{% url 'image' value.avatar.slug %}"><img src="{{ MEDIA_URL }}{{ value.avatar.image }}" /></a>
								<p class="image-name">{{ value.avatar.name }}</p>
								<p class="image-caption">{{ value.avatar.caption }}</p>
							</div>
						</div>
					{% else %}
						<div class="row">
							<div class="col-md-12">
								<h5>{{ val.name }}</h5>
								<p>{{ val.text }}</p>
							</div>
						</div>	
					{% endif %}
				{% endfor %}
			{% endif %}
		{% endfor %}
        <h3>{{ research_line.subtitle }}</h3>
		<p>{{ research_line.text|safe }}</p>
		<div class="row-bibliography">
				<h4>Bibliography</h4>
				{% for reference in references %}
					{% if reference|book_instance %}
						<p>{{ reference.authors }}, {{ reference.title }}, {{ reference.book_title }}</p><!--etc...-->
					{% else %}
						<p>{{ reference.authors }}, {{ reference.title }}, </p><!--etc...-->
					{% endif %}
				{% endfor %}
			</div>
	</div> <!-- general offset -->
</div> <!--first fluid row -->

<div class="row-discus">
    <div class="col-md-10 col-md-offset-1">
        {% disqus_show_comments %}
    </div>
</div>
</body>
{% endblock %}
{'fraction_non_alphanumeric': 0.24306185380010883, 'fraction_numerical': 0.011064756031198985, 'mean_word_length': 2.3911439114391144, 'pattern_counts': {'":': 0, '<': 177, '<?xml version=': 0, '>': 177, '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': '5099247', 'n_tokens_mistral': 2759, 'n_tokens_neox': 2011, 'n_words': 423}