<commit_before><section data-ng-controller="SettingsController">
	<div class="page-header">
		<h1 data-ng-bind="user.username"></h1>
		<div>Welcome <span data-ng-bind="user.displayName"></span><br>
			<span data-ng-bind="user.email"></span>
		</div>
		<br>		
		<div>My Interests: <span data-ng-bind="user.interests"></span><br>
		</div>

				<div data-ng-controller="PhotosController" data-ng-init="findUserProfilePic()">
					<div class="row">
						<div class="col-xs-6 col-md-3">
							<a href="#" class="thumbnail">
								<img ng-show="photo.src" ng-src="{{photo.src}}" />
								<!-- If the user has not uploaded a profile pic, display the alternate: -->
								<span class="empty" ng-show="!photo.src"><img src="/modules/users/img/stunned.jpg" alt="nice pic here"></span>
							</a>
						</div>
					</div>

				
 				</div>
				

		<!-- This includes the HTML for the modal view for profile photo upload. -->
		<!-- <div ng-show="{{user._id}} == {{$$nextSibling.authentication.user._id}" ng-include="'/modules/core/views/modal-upload.client.view.html'"></div> -->
	<!-- 	this line works, but throws errors
		<div ng-show="{user:_id} == {$$nextSibling.authentication.user:_id}" ng-include="'/modules/core/views/modal-upload.client.view.html'"></div>
 -->
		</div>
	</div>
</section>

<section data-ng-controller="OfferingsController" data-ng-init="findByUser()">
    <div class="page-header">
        <h1>My Offerings</h1>
    </div>
    <div class="list-group">

        <div data-ng-repeat="offering in offerings"  class="list-group-item">
			<small class="list-group-item-text">
				Posted on
				<span data-ng-bind="offering.created | date:'medium'"></span>
			</small>
			
			<a href='/#!/offerings/{{offering._id}}'>
				<h2 class="list-group-item-heading" data-ng-bind="offering.name"></h2>
			</a>
			<h4 class="list-group-item-heading">Price: ${{offering.price}}</h4>
			<h5 class="list-group-item-heading">
				<span class="star-rating" star-rating rating-value="offering.rating.score" data-max="5"></span>
				({{offering.rating.comments.length}} Comments)
			</h5>
            <p data-ng-bind="offering.description"></p>


			<div class="pull-right" data-ng-show="((authentication.user) && (authentication.user._id == offering.user))">
				<a class="btn btn-primary" data-ng-href="/#!/offerings/{{offering._id}}/edit"><commit_msg>Restored the 'Update Photo' button<commit_after><section data-ng-controller="SettingsController">
	<div class="page-header">
		<h1 data-ng-bind="user.username"></h1>
		<div>Welcome <span data-ng-bind="user.displayName"></span><br>
			<span data-ng-bind="user.email"></span>
		</div>
		<br>		
		<div>My Interests: <span data-ng-bind="user.interests"></span><br>
		</div>

				<div data-ng-controller="PhotosController" data-ng-init="findUserProfilePic()">
					<div class="row">
						<div class="col-xs-6 col-md-3">
							<a href="#" class="thumbnail">
								<!-- If the user has not uploaded a profile pic, display the alternate: -->
								<img ng-src="{{photo.src || '/modules/users/img/stunned.jpg'}}" />
							</a>
						</div>
					</div>

				
 				</div>
				

		<!-- This includes the HTML for the modal view for profile photo upload. -->
		<div ng-include="'/modules/core/views/modal-upload.client.view.html'"></div>


		</div>
	</div>
</section>

<section data-ng-controller="OfferingsController" data-ng-init="findByUser()">
    <div class="page-header">
        <h1>My Offerings</h1>
    </div>
    <div class="list-group">

        <div data-ng-repeat="offering in offerings"  class="list-group-item">
			<small class="list-group-item-text">
				Posted on
				<span data-ng-bind="offering.created | date:'medium'"></span>
			</small>
			
			<a href='/#!/offerings/{{offering._id}}'>
				<h2 class="list-group-item-heading" data-ng-bind="offering.name"></h2>
			</a>
			<h4 class="list-group-item-heading">Price: ${{offering.price}}</h4>
			<h5 class="list-group-item-heading">
				<span class="star-rating" star-rating rating-value="offering.rating.score" data-max="5"></span>
				({{offering.rating.comments.length}} Comments)
			</h5>
            <p data-ng-bind="offering.description"></p>


			<div class="pull-right" data-ng-show="((authentication.user) && (authentication.user._id == offering.user))">
				<a class="btn btn-primary" data-ng-href="/#!/offerings/{{offering._id}}/edit">
{'fraction_non_alphanumeric': 0.21173235563703025, 'fraction_numerical': 0.005957836846929423, 'mean_word_length': 3.431472081218274, 'pattern_counts': {'":': 0, '<': 126, '<?xml version=': 0, '>': 126, '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': '528033', 'n_tokens_mistral': 1755, 'n_tokens_neox': 1485, 'n_words': 258}