<commit_before><!-- Prevent adding #whatever when clicking tabs -->
<script type="text/javascript">
  $('.nav-tabs a').click(function(e)
  {
    e.preventDefault();
  });
</script>

<div class="profile" ng-show="vm.profile">

<div class="container-fluid">
  <div class="hidden-xs">
	<div class="row">
		<div class="col-xs-1"></div>
		<div class="col-xs-10">
			<h3>Profile</h3>
		</div>
		<div class="col-xs-1"></div>
	</div> <!-- /row -->
  </div>
	<div class="row">
		<div class="col-xs-1 col-sm-1"></div>
		<div class="col-sm-3">
			<div class="cliente">
			<div class="row">
				<div class="col-xs-4 col-sm-12">
					<img ng-src="/media/{{vm.profile.image}}" class="img-responsive" style="width:100%"><img>
				</div>
				<div id="profile__name" class="col-xs-7 col-sm-12">
					<h1>{{ vm.profile.username }}</h1>
					<!-- TODOJS add hometown? Should we have this -->
<!--
					<h6><span class="glyphicon glyphicon-map-marker"></span> Town, Region</h6>
-->
          <h5>
            <!-- <img ng-src="static/images/rating_{{vm.profile.average_rating}}.png"/> -->
            <img id="image__rating__profile" ng-src="static/images/rating_{{vm.averageRating}}.png"/>
          </h5>
					<div class="hidden-xs" >
						<a ng-show=vm.isOwner href="thingies/add" id="profile__button1" role="button" class="btn btn-primary" ><span class="glyphicon glyphicon-plus-sign"></span> Add Thingy</a><br>
						<a ng-show=vm.isOwner href="/settings" id="profile__button2" role="button" class="btn btn-primary"><span class="glyphicon glyphicon-cog"></span> Settings</a><br>
						<button ng-hide=vm.isOwner type="button" id="profile__button3" class="btn btn-primary" data-toggle="modal" data-target="#createReview">Create review</button>
					</div>
				</div>
			</div> <!-- /row --->
			</div> <!-- cliente -->
		</div> <!-- /col-sm-3 -->

					<div id="createReview" class="modal fade" role="dialog">
								<div id="modal-dialog__createReview" class="modal-dialog">
									<div class="modal-content">
									  <div class="modal-header">
										<button type="button" class="close" data-dismiss="modal">&times;</button>
										<h4 class="modal-title">Write a review of this user</h4>
									  </div><!--/modal-header-->

									  <div class="modal-body">
										<div class="form-group">
										  <label for="reviewTextBody">Describe your over all experience with {{ vm.profile.username }} and the rented thingy</label>
										  <textarea type="text" class="form-control" id="reviewTextBody" rows="8"  ng-model="vm.description" placeholder="" />
										</div><!--form-group--><commit_msg>Fixed the buttons under profile stars.<commit_after><!-- Prevent adding #whatever when clicking tabs -->
<script type="text/javascript">
  $('.nav-tabs a').click(function(e)
  {
    e.preventDefault();
  });
</script>

<div class="profile" ng-show="vm.profile">

<div class="container-fluid">
  <div class="hidden-xs">
	<div class="row">
		<div class="col-xs-1"></div>
		<div class="col-xs-10">
			<h3>Profile</h3>
		</div>
		<div class="col-xs-1"></div>
	</div> <!-- /row -->
  </div>
	<div class="row">
		<div class="col-xs-1 col-sm-1"></div>
		<div class="col-sm-3">
			<div class="cliente">
			<div class="row">
				<div class="col-xs-4 col-sm-12">
					<img ng-src="/media/{{vm.profile.image}}" class="img-responsive" style="width:100%"><img>
				</div>
				<div id="profile__name" class="col-xs-7 col-sm-12">
					<h1>{{ vm.profile.username }}</h1>
					<!-- TODOJS add hometown? Should we have this -->
<!--
					<h6><span class="glyphicon glyphicon-map-marker"></span> Town, Region</h6>
-->
          <h5>
            <!-- <img ng-src="static/images/rating_{{vm.profile.average_rating}}.png"/> -->
            <img id="image__rating__profile" ng-src="static/images/rating_{{vm.averageRating}}.png"/>
          </h5>
					<div class="hidden-xs" >
						<a ng-show=vm.isOwner href="thingies/add" id="profile__button1" role="button" class="btn btn-primary col-xs-12" ><span class="glyphicon glyphicon-plus-sign"></span> Add Thingy</a>
						<a ng-show=vm.isOwner href="/settings" id="profile__button2" role="button" class="btn btn-primary col-xs-12"><span class="glyphicon glyphicon-cog"></span> Settings</a>
						<button ng-hide=vm.isOwner type="button" id="profile__button3" class="btn btn-primary col-xs-12" data-toggle="modal" data-target="#createReview">Create review</button>
					</div>
				</div>
			</div> <!-- /row --->
			</div> <!-- cliente -->
		</div> <!-- /col-sm-3 -->

					<div id="createReview" class="modal fade" role="dialog">
								<div id="modal-dialog__createReview" class="modal-dialog">
									<div class="modal-content">
									  <div class="modal-header">
										<button type="button" class="close" data-dismiss="modal">&times;</button>
										<h4 class="modal-title">Write a review of this user</h4>
									  </div><!--/modal-header-->

									  <div class="modal-body">
										<div class="form-group">
										  <label for="reviewTextBody">Describe your over all experience with {{ vm.profile.username }} and the rented thingy</label>
										  <textarea type="text" class="form-control" id="reviewTextBody" rows="8"  ng-model="vm.description" placeholder="" />
										</div><!--form-group-->
{'fraction_non_alphanumeric': 0.2130773617183045, 'fraction_numerical': 0.012925299372742824, 'mean_word_length': 3.156398104265403, 'pattern_counts': {'":': 0, '<': 161, '<?xml version=': 0, '>': 161, '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': '7574558', 'n_tokens_mistral': 2134, 'n_tokens_neox': 1736, 'n_words': 341}