Sha256: 604a9a89093008fc4da0f72eb023ec8a4f33423eb507e1cb760251aa548791f0

Contents?: true

Size: 986 Bytes

Versions: 2

Compression:

Stored size: 986 Bytes

Contents

<html>
<head>
  <title><%= title %></title>
  <style>
    body{font-family: sans-serif;}
    h1{ }
    h2{ color: #555; }
    li{padding: 10px;}
    .changelog{width:800px; margin:0 auto;}
    .title{font-size: 64px;}
    .date{font-weight: bold; color: green; float: left; padding-right: 15px;}
    .author{font-weight: bold; color: blue;}
    .message{padding: 5 0; font-weight: bold;}
    .revision{font-size: 0.8em;}
  </style>
  <% if options.stylesheet %>
    <link rel="stylesheet" href="#{options.stylesheet}" type="text/css">
  <% end %>
</head>
<body>
<div class="changelog">
  <% changelog.changes.sort{|a,b| b.date <=> a.date}.each do |entry| %>
  <div class="commit">
    <div class="revision">#<%= h entry.revision %></div>
    <div class="date"><%= entry.date %></div>
    <div class="author"><%= h entry.author %></div>
    <div class="type"><%= h entry.type %></div>
    <div class="message"><%= h entry.message %></div>
  </commit>
  <% end %>
</div>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vclog-1.6.0 lib/vclog/templates/changelog.html.erb
vclog-1.5.0 lib/vclog/templates/changelog.html