templates/html/_titlepage.html.erb in review-5.3.0 vs templates/html/_titlepage.html.erb in review-5.4.0

- old
+ new

@@ -1,20 +1,12 @@ - <h1 class="tp-title"><%= @title_str %></h1> -<% if @subtitle_str %> - <h2 class="tp-subtitle"><%= h(@subtitle_str) %></h2> +<div class="titlepage"> +<h1 class="tp-title"><%= h(@config.name_of('booktitle')) %></h1> +<% if @config['subtitle'] %> +<h2 class="tp-subtitle"><%= h(@config.name_of('subtitle')) %></h2> <% end %> -<% if @author_str %> - <p> - <br /> - <br /> - </p> - <h2 class="tp-author"><%= h(@author_str) %></h2> +<% if @config['aut'] %> +<h2 class="tp-author"><%= h(@config.names_of('aut').join(ReVIEW::I18n.t('names_splitter'))) %></h2> <% end %> -<% if @publisher_str %> - <p> - <br /> - <br /> - <br /> - <br /> - </p> - <h3 class="tp-publisher"><%= h(@publisher_str) %></h3> +<% if @config['pbl'] %> +<h3 class="tp-publisher"><%= h(@config.names_of('pbl').join(ReVIEW::I18n.t('names_splitter'))) %></h3> <% end %> +</div>