<h1>Repositories</h1>
<table class="table table-striped">
  <thead>
    <tr>
      <th>Name</th>
      <th>Type</th>
      <th>URL</th>
    </tr>
  </thead>
  <tbody>
    <% @repositories.each do |repository| %>
      <tr>
        <td><%= repository.name %></td>
        <td><%= repository.type %></td>
        <td><%= repository.url %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<h1>Repositories</h1>
<table class="table table-striped">
  <thead>
    <tr>
      <th>Name</th>
      <th>Type</th>
      <th>URL</th>
    </tr>
  </thead>
  <tbody>
    <% @repositories.each do |repository| %>
      <tr>
        <td><%= repository.name %></td>
        <td><%= repository.type %></td>
        <td><a href="<%= repository.url %>"><%= repository.url.sub(/^https?\:\/\//, '').sub(/^www./,'') %></a></td>
      </tr>
    <% end %>
  </tbody>
</table>

Transform repository URL to actual hyperlinks
Transform repository URL to actual hyperlinks

Just added an a-tag to the repository rendering. Also included a regular
expression for removing http/https and www whem displaying the link.

Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>
