Skip to content

Commit

Permalink
fix: Renamed yc_demo with yc_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
onuratakan committed Nov 11, 2024
1 parent 0030ffb commit f5553d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ <h1 class="uk-h2 uk-margin text-foreground">
<div class="uk-navbar-right ">
<ul class="uk-navbar-nav uk-margin-medium-right" style="gap: 0.5rem;">

{% yc_demo as yc_demo %}
{% if not yc_demo %}
{% yc_mode as yc_mode %}
{% if not yc_mode %}

<a href="#" onclick="page_load('{% url 'control_element' id=control_library_with_version %}');event.preventDefault();" class="uk-button uk-button{% if sub_page_title == 'Home' %}-primary{% else %}-default{% endif %}"><span uk-icon="home" class="uk-margin-small-right"></span>Home</a>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@



{% yc_demo as yc_demo %}
{% if not yc_demo %}
{% yc_mode as yc_mode %}
{% if not yc_mode %}
<a href="#" onclick="page_load('{% url 'control_element_commits' id=key %}');event.preventDefault();" class="uk-button uk-button-default" style="width: 1px;" uk-tooltip="Commits"><span uk-icon="push"></span></a>
<a href="#" onclick="page_load('{% url 'control_element_runs' id=key %}');event.preventDefault();" class="uk-button uk-button-default" style="width: 1px;" uk-tooltip="Run History"><span uk-icon="server"></span></a>
<a href="#" onclick="page_load('{% url 'control_element_dependency' id=key %}');event.preventDefault();" class="uk-button uk-button-default" style="width: 1px;" uk-tooltip="Dependency"><span uk-icon="thumbnails"></span></a>
Expand All @@ -70,8 +70,8 @@
{% else %}
<a href="#" onclick="page_load('{% url 'control_library' id=key %}');event.preventDefault();" class="uk-button uk-button-default" style="width: 1px;" uk-tooltip="Home"><span uk-icon="home"></span></a>

{% yc_demo as yc_demo %}
{% if not yc_demo %}
{% yc_mode as yc_mode %}
{% if not yc_mode %}
<a href="#" onclick="page_load('{% url 'control_library_settings' id=key %}');event.preventDefault();" class="uk-button uk-button-default" style="width: 1px;" uk-tooltip="Settings"><span uk-icon="settings"></span></a>
{% endif %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ <h1 class="uk-h2 uk-margin text-foreground">
<div class="uk-navbar-right">
<ul class="uk-navbar-nav uk-margin-medium-right" style="gap: 0.5rem;">

{% yc_demo as yc_demo %}
{% if not yc_demo %}
{% yc_mode as yc_mode %}
{% if not yc_mode %}


<a href="#" onclick="page_load('{% url 'control_library' id=control_library_with_version %}');event.preventDefault();" class="uk-button uk-button{% if sub_page_title == 'Home' %}-primary{% else %}-default{% endif %}"><span uk-icon="home" class="uk-margin-small-right"></span>home</a>
Expand Down

0 comments on commit f5553d0

Please sign in to comment.