<commit_before><div data-role="header" class="ui-grid-b">
  <div class="ui-block-a">
  </div>
  <a href="javascript:history.back()", data-icon="back", data-iconpos="notext", class="ui-btn-left", id="header_left_mobile"><%= t('page.back') %></a>

  <div class="ui-block-b" id="library_system_name_mobile">
    <h3 class="resource_title_mobile"><%= link_to LibraryGroup.system_name(@locale), root_path, :title => LibraryGroup.system_name(@locale) %></h3>
  </div>

  <div class="ui-block-c" id="header_right_mobile">
    <% if user_signed_in? %>
      <div class="right_align"><%= link_to t('page.user_management'), current_user -%></div>
      <div class="right_align"><%= link_to t('page.sign_out'), destroy_user_session_path, method: :delete, "data-ajax" => :false, "data-role" => :none -%></div>
    <% else %>
      <% unless controller_name == 'sessions' %>
        <%- unless SystemConfiguration.isWebOPAC %>
          <div class="right_align"><%= link_to t('page.sign_in'), new_user_session_path -%></div>
        <%- end -%>
      <% end %>
    <% end %>
  </div>
</div><commit_msg>refs 8854 モバイル：ログアウトリンクでajaxが効かないようにした。<commit_after><div data-role="header" class="ui-grid-b">
  <div class="ui-block-a">
  </div>
  <a href="javascript:history.back()", data-icon="back", data-iconpos="notext", class="ui-btn-left", id="header_left_mobile"><%= t('page.back') %></a>

  <div class="ui-block-b" id="library_system_name_mobile">
    <h3 class="resource_title_mobile"><%= link_to LibraryGroup.system_name(@locale), root_path, :title => LibraryGroup.system_name(@locale) %></h3>
  </div>
  <script>
  $(function(){
    $(document.body).delegate("form[action='/accounts/sign_out']",'submit',function(e){
      $(this).attr("data-ajax", "false");
    });
  });
  </script>
  <div class="ui-block-c" id="header_right_mobile">
    <% if user_signed_in? %>
      <div class="right_align"><%= link_to t('page.user_management'), current_user -%></div>
      <div class="right_align"><%= link_to t('page.sign_out'), destroy_user_session_path, method: :delete, "data-ajax" => :false, "data-role" => :none -%></div>
    <% else %>
      <% unless controller_name == 'sessions' %>
        <%- unless SystemConfiguration.isWebOPAC %>
          <div class="right_align"><%= link_to t('page.sign_in'), new_user_session_path -%></div>
        <%- end -%>
      <% end %>
    <% end %>
  </div>
</div>
{'fraction_non_alphanumeric': 0.21919530595138306, 'fraction_numerical': 0.003352891869237217, 'mean_word_length': 4.3640449438202245, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 71, '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': '4532814', 'n_tokens_mistral': 892, 'n_tokens_neox': 846, 'n_words': 139}