Skip to content

Commit

Permalink
Hide Survey
Browse files Browse the repository at this point in the history
Hide Survey tab and prevent survey javascript from loading.
  • Loading branch information
Lilyheart committed Apr 9, 2020
1 parent 930f481 commit 020142a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,14 @@ <h3 class="pad-below">Gitlab Setup</h3>
<li class="nav-item">
<a class="nav-link active" id="faq-tab" data-toggle="tab" href="#faqtab" role="tab" aria-controls="faqtab" aria-selected="true" onclick="checkForUpdates()">FAQ</a>
</li>
<li class="nav-item d-none" id="survey-tab-item">
<!-- <li class="nav-item d-none" id="survey-tab-item">
<a class="nav-link survey-tab" id="survey-tab" data-toggle="tab" href="#surveytab" role="tab" aria-controls="surveytab" aria-selected="true" onclick="checkForUpdates()">
Survey
<button type="button" class="close surveyclose" aria-label="Close" onclick="document.getElementById('survey-tab-item').classList.add('d-none');">
<span aria-hidden="true"> &times;</span>
</button>
</a>
</li>
</li> -->
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade" id="issuestab" role="tabpanel" aria-labelledby="issues-tab">
Expand Down Expand Up @@ -378,13 +378,13 @@ <h4 class="d-inline-flex">Warnings</h4>
</script>
</div>
</div>
<div class="tab-pane fade pb-5" id="surveytab" role="tabpanel" aria-labelledby="survey-tab">
<!-- <div class="tab-pane fade pb-5" id="surveytab" role="tabpanel" aria-labelledby="survey-tab">
<div class="card">
<div class="card-body p-0">
<div id="surveyContainer"></div>
</div>
</div>
</div>
</div> -->
</div>
</div>
</div> <!-- end class="row" -->
Expand All @@ -409,12 +409,12 @@ <h4 class="d-inline-flex">Warnings</h4>
<script type="text/javascript" src="libraries/feedback.js?ver=2012"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.js" integrity="sha256-my/qJggBjG+JoaR9MUSkYM+EpxVkxZRNn3KODs+el74=" crossorigin="anonymous"></script>
<!-- Survey -->
<script src="libraries/survey.jquery.min.js?ver=1.1.23"></script>
<script type="text/javascript" src="scripts/surveyJSON.js?ver=0.2.8"></script>
<!-- <script src="libraries/survey.jquery.min.js?ver=1.1.23"></script>
<script type="text/javascript" src="scripts/surveyJSON.js?ver=0.2.8"></script> -->
<!-- Local -->
<script type="text/javascript" src="libraries/selectize.min.js?ver=v0.12.6"></script>
<script type="text/javascript" src="libraries/defiant.min.js?ver=v2.2.6"></script>
<script type="text/javascript" src="scripts/survey.js?ver=0.2.8"></script>
<!-- <script type="text/javascript" src="scripts/survey.js?ver=0.2.8"></script> -->
<script type="text/javascript" src="scripts/projects.js?ver=0.2.8"></script>
<script type="text/javascript" src="scripts/issues.js?ver=0.3.0"></script>
<script type="text/javascript" src="scripts/burndown.js?ver=0.2.8"></script>
Expand Down
4 changes: 2 additions & 2 deletions partials/faqtab.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ <h3>New</h3>
<ul>
<!-- <li class="new">2020/MM/DD <strong><u><a href="https://github.com/Lilyheart/agile-gitlabce/releases/tag/vX.X.X">vX.X.X</a></u></strong>: XXXXXX <span class="badge badge-primary">New</span></li> -->
<li class="new">2020/02/20 <strong><u><a href="https://github.com/Lilyheart/agile-gitlabce/releases/tag/v0.3.0">v0.3.0</a></u></strong>: Now in Beta!!! View a burndown chart of specific sprints <strong>[Release Tab]</strong>. If you have any issues with it, find me or use the Send Feedback link above.</li>
<li>2019/12/07 <strong><u><a href="https://github.com/Lilyheart/agile-gitlabce/releases/tag/v0.2.8">v0.2.8</a></u></strong>: Survey
<!-- <li>2019/12/07 <strong><u><a href="https://github.com/Lilyheart/agile-gitlabce/releases/tag/v0.2.8">v0.2.8</a></u></strong>: Survey
<p>I know we might be tired of feedback surveys, but I would appreciate it if you could take the time to complete the survey on the tab that will load once you are logged into your Gitlab from this page.</p>
</li>
</li> -->
<li>2019/12/03 <strong><u><a href="https://github.com/Lilyheart/agile-gitlabce/releases/tag/v0.2.7">v0.2.7</a></u></strong>: Issues that might be causing problems
<ul>
<li>Any issues that might cause problems on the burndown chart will now appear on a new Errors/Warnings tab</li>
Expand Down
2 changes: 1 addition & 1 deletion scripts/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var projects = (function () {
// projFilter = ["user", "all", "auto", "bookmarked"]
let url, projectPages;

survey.surveyInit();
// survey.surveyInit();

// Build URL and get project list
if (projFilter === "all" || currUserName === null) {
Expand Down

0 comments on commit 020142a

Please sign in to comment.