Skip to content

Commit

Permalink
Merge branch 'wswebcreation:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Baskercarrer authored May 30, 2022
2 parents 7f80384 + 3731294 commit 6792212
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "multiple-cucumber-html-reporter",
"version": "1.21.1",
"version": "1.21.2",
"description": "Generate beautifull cucumberjs reports for multiple instances (browsers / devices)",
"keywords": [
"cucumber",
Expand Down
12 changes: 7 additions & 5 deletions templates/feature-overview.index.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,13 @@
<div class="page-title">
<div class="tags">
<% if (feature.tags) { %>
<% var amount = feature.tags.length; %>
<% if (amount > 0 ){ %>
<i class="fa fa-tag<% if(amount > 1 ) {%>s<% } %> fa-lg"></i>
<% _.each(feature.tags, (tag) => {%><span class="tag"><%= tag.name %></span><%});%>
<% } %>
<% var amount = feature.tags.length; %>
<% if (amount > 0 ){ %>
<i class="fa fa-tag<% if(amount > 1 ) {%>s<% } %> fa-lg"></i>
<% _.each(feature.tags, (tag) => {%>
<span class="tag"><%= tag.name %></span>
<%});%>
<% } %>
<% } %>
</div>
<h1>Feature:
Expand Down

0 comments on commit 6792212

Please sign in to comment.