<commit_before><template name="projectItem">
  <div class="project-item box-shadow">
    <div class="project-item-content">
      <h1>{{name}}</h1>
      <span>{{description}}</span>
      <a href="{{ pathFor 'userProfile' userId=owner.userId }}" class="project-item-username">{{owner.username}}</a>
    </div>
  </div>
</template><commit_msg>Add Join project button to template<commit_after><template name="projectItem">
  <div class="project-item box-shadow">
    <div class="project-item-content">
      <h1>{{name}}</h1>
      <span>{{description}}</span>
      <a href="{{ pathFor 'userProfile' userId=owner.userId }}" class="project-item-username">{{owner.username}}</a>
      {{#if canJoinProject Meteor.userId _id }}
        <a class="btn btn-default">Join project</a>
      {{/if}}
    </div>
  </div>
</template>
{'fraction_non_alphanumeric': 0.20681265206812652, 'fraction_numerical': 0.004866180048661801, 'mean_word_length': 4.0182926829268295, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '2968442', 'n_tokens_mistral': 267, 'n_tokens_neox': 260, 'n_words': 49}