watchiot/watchiot-web

View on GitHub
app/views/projects/_config_readme_project.erb

Summary

Maintainability
Test Coverage
<div>
  <p>You are using the <strong><%= @repos[@project.repo_name]['title'] %></strong> configuration.
    For <mark>using</mark> and <mark>installations</mark> details please see the
    <%= link_to('/' + param_user + '/' + @space.name + '/' + @project.name + '/readme/' + @project.repo_name, id: 'readme-form', remote: true) do %>
        readme!
    <% end %>
  </p>

  <!-- Modal -->
  <div class="modal fade" id="readmeModal" tabindex="-1" role="dialog" aria-labelledby="readmeModalLabel">
    <div class="modal-dialog" role="document">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
          <h4 class="modal-title" id="readmeModalLabel">Readme</h4>
        </div>
        <div class="modal-body">
          <div id="readme"></div>
        </div>

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