Skip to content

Commit

Permalink
Updating icons
Browse files Browse the repository at this point in the history
  • Loading branch information
anibalinn committed Oct 2, 2024
1 parent bbc4506 commit 5dc8472
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions behavex/outputs/jinja/main.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
<span class="glyphicon glyphicon-menu-right" data-id-hash="{{ scenario.id_hash }}"
title="{{ ('commons.expand'|get_text).format('scenario') }}" data-scenario>
<b class="span-behavex" style="cursor: pointer;">{{scenario.name|e}}</b>
&nbsp;<b class="glyphicon glyphicon-duplicate glyphicon-scenario link-cursor" title="Copy scenario name"
&nbsp;<b class="glyphicon glyphicon-copy glyphicon-scenario link-cursor" title="Copy scenario name"
onclick="copyToClipboard('{{scenario.name|e}}'); event.stopPropagation();"></b>
{%- if ('MUTE' in scenario|get_scenario_tags) -%}
&nbsp;<b class="glyphicon glyphicon-volume-off glyphicon-scenario" title="{{ 'report.muted'|get_text }}"></b>
Expand Down Expand Up @@ -360,15 +360,15 @@
<td>&nbsp;&nbsp;Untested</td>
<td ><p class="text-center" title="{{ 'commons.text.total_time'|get_text }}"><b>0s</b></p></td>
<td><a charset=utf-8 class="btn btn-info btn-xs" title="{{ 'report.icon_duplicate.title'|get_text}}">
<span class="glyphicon glyphicon-copy"></span></a>
<span class="glyphicon glyphicon-share"></span></a>
</td>
{%- elif "WIP" in scenario_tags -%}
<p class="text-center">Work In Progress</p>
</td>
<td>&nbsp;&nbsp;Untested</td>
<td ><p class="text-center" title="{{ 'commons.text.total_time'|get_text }}">0s</p></td>
<td><a charset=utf-8 class="btn btn-info btn-xs" title="{{ 'report.icon_duplicate.title'|get_text}}">
<span class="glyphicon glyphicon-copy"></span></a>
<span class="glyphicon glyphicon-share"></span></a>
</td>
{%- else -%}
{%- set scenario_hash = scenario_hash|string -%}
Expand Down Expand Up @@ -425,7 +425,7 @@
</div>
{% endif %}
<a charset=utf-8 class="btn btn-info btn-xs" title="{{ 'report.icon_duplicate.title'|get_text}}">
<span class="glyphicon glyphicon-copy"></span>
<span class="glyphicon glyphicon-share"></span>
</a>
</div>
</td>
Expand Down Expand Up @@ -498,7 +498,7 @@
var ua = navigator.userAgent.toLowerCase();
if (ua.indexOf('safari') != -1) {
if (ua.indexOf('chrome') == -1) {
$('span.glyphicon-copy').hide();
$('span.glyphicon-share').hide();
}
}
var url = $(location).attr('href');
Expand Down Expand Up @@ -768,7 +768,7 @@
}

}
$('.glyphicon-copy').click(function(){
$('.glyphicon-share').click(function(){
var scenario = $(this).closest('tr').find("td:first").find('span:first');
var feature_id = scenario.parents('div.feature').parents('tr[data-feature-id]').attr('data-feature-id');
var url = $(location).attr('href').split('#')[0];
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "behavex"
version = "4.0.7rc2"
version = "4.0.7rc3"
description = "Agile testing framework on top of Behave (BDD)."
readme = "README.md"
license = { text = "MIT" }
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name='behavex',
version='4.0.7rc2',
version='4.0.7rc3',
license="MIT",
platforms=['any'],
python_requires='>=3.5',
Expand Down

0 comments on commit 5dc8472

Please sign in to comment.