diff --git a/app/views/cms/_blog.rhtml b/app/views/cms/_blog.rhtml
index 7ee6054..3ee3f8a 100644
--- a/app/views/cms/_blog.rhtml
+++ b/app/views/cms/_blog.rhtml
@@ -6,6 +6,8 @@
<%= required f.text_field(:name, :size => '64', :onchange => "updateUrlField(this, 'article_slug')") %>
+<%= render :partial => 'general_fields' %>
+
+<% if @page.display_hits? || @page.license.present? %>
+
+ <% if @page.display_hits? %>
+
+ <%= n_('Viewed one time', 'Viewed %{num} times', @page.hits) % { :num => @page.hits } %>
+
+ <% end %>
+
+ <% if @page.license.present? %>
+
+ <%= _('Licensed under %s') % (@page.license.url.present? ? link_to(@page.license.name, @page.license.url, :target => '_blank') : @page.license.name) %>
+
+ <% end %>
+
+<% end %>
+
<% if !@page.tags.empty? %>
- <%= n_('Viewed one time', 'Viewed %{num} times', @page.hits) % { :num => @page.hits } %>
-
-<% end %>
-
<% if @page.parent && !@page.parent.path.blank? %>
<%= button(:back, _('Go back to %s') % @page.parent.short_title, @page.parent.url) %>
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index c03eb93..174bd48 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -1019,14 +1019,26 @@ code input {
#article-tags {
font-size: 10px;
text-align: right;
+ margin-bottom: -10px;
}
#article-tags a {
text-decoration: none;
}
+#article-sub-header {
+ height: 15px;
+}
+
#article-hits {
font-size: 10px;
+ float: left;
+}
+
+#article-license {
+ font-size: 10px;
+ float: right;
text-align: right;
+ color: #AAA;
}
#article-cat {
--
libgit2 0.21.2