<commit_before><div ng-repeat="content in ['nav-right', 'nav-desktop']">
  <div ui-content-for="{{content}}">
    <div class="nav-right-menu" ng-if="!pad.editing || isDesktop()">
      <a ui-turn-on="dropdownProjectMenu" class="btn">
        <i class="fa fa-ellipsis-v"></i>
      </a>
      <ul ui-state="dropdownProjectMenu" class="dropdown-menu ng-hide"
          ui-outer-click="Ui.turnOff('dropdownProjectMenu')"
          ui-outer-click-if="Ui.active('dropdownProjectMenu')"
          role="menu" ui-show="dropdownProjectMenu"
          ui-turn-off="dropdownProjectMenu">

        <li><a ui-set="{modalSharedState: 'shareModalCreate'}"><span translate>project.menu.share</span></a></li>
        <li><a like like-copy-on="project.menu.unlike" like-copy-off="project.menu.like" like-model="project"></a></li>
        <li><a join join-copy-on="project.menu.leave" join-copy-off="project.menu.join" join-model="project" analytics-on="click" analytics-event="Join project"></a></li>
      </ul>
    </div>
    <div class="nav-right-menu" ng-if="pad.editing && !isDesktop()">
      <a ng-click="editOff()" class="btn pad-check">
        <i class="fa fa-check" ng-class="{'fa-check': !pad.saving, 'fa-spinner': pad.saving}"></i>
      </a>
    </div>
  </div>
</div>

<div ui-content-for="nav-title">
  <div ng-if="!isDesktop()" class="project-title overflow-ellipsis">
    {{project.title || 'project.title.empty.placeholder' | translate}}
  </div>
</div>

<div ui-content-for="modals">
  <div projects-share-modal></div>
</div>
<commit_msg>Fix share modal in desktop view.<commit_after><div ng-repeat="content in ['nav-right', 'nav-desktop']">
  <div ui-content-for="{{content}}">
    <div class="nav-right-menu" ng-if="!pad.editing || isDesktop()">
      <a ui-turn-on="dropdownProjectMenu" class="btn">
        <i class="fa fa-ellipsis-v"></i>
      </a>
      <ul ui-state="dropdownProjectMenu" class="dropdown-menu ng-hide"
          ui-outer-click="Ui.turnOff('dropdownProjectMenu')"
          ui-outer-click-if="Ui.active('dropdownProjectMenu')"
          role="menu" ui-show="dropdownProjectMenu"
          ui-turn-off="dropdownProjectMenu">

        <li><a ui-set="{modalSharedState: 'shareModalCreate'}"><span translate>project.menu.share</span></a></li>
        <li><a like like-copy-on="project.menu.unlike" like-copy-off="project.menu.like" like-model="project"></a></li>
        <li><a join join-copy-on="project.menu.leave" join-copy-off="project.menu.join" join-model="project" analytics-on="click" analytics-event="Join project"></a></li>
      </ul>
    </div>
    <div class="nav-right-menu" ng-if="pad.editing && !isDesktop()">
      <a ng-click="editOff()" class="btn pad-check">
        <i class="fa fa-check" ng-class="{'fa-check': !pad.saving, 'fa-spinner': pad.saving}"></i>
      </a>
    </div>
  </div>
</div>

<div ui-content-for="nav-title">
  <div ng-if="!isDesktop()" class="project-title overflow-ellipsis">
    {{project.title || 'project.title.empty.placeholder' | translate}}
  </div>
</div>

<div ui-content-for="modals2">
  <div projects-share-modal></div>
</div>

{'fraction_non_alphanumeric': 0.21631205673758866, 'fraction_numerical': 0.0003223726627981947, 'mean_word_length': 3.6661654135338346, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, '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': '5379971', 'n_tokens_mistral': 1079, 'n_tokens_neox': 1054, 'n_words': 167}