Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SickRage-1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
SickRage-1
Commits
3fce9ecd
Commit
3fce9ecd
authored
Jan 6, 2016
by
miigotu
Browse files
Options
Downloads
Patches
Plain Diff
Use mako's uri escaping to prevent errors adding shows with & in the name
Fixes
https://github.com/SickRage/sickrage-issues/issues/380
parent
84c7f193
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
gui/slick/views/addShows_popularShows.mako
+1
-1
1 addition, 1 deletion
gui/slick/views/addShows_popularShows.mako
gui/slick/views/trendingShows.mako
+1
-1
1 addition, 1 deletion
gui/slick/views/trendingShows.mako
with
2 additions
and
2 deletions
gui/slick/views/addShows_popularShows.mako
+
1
−
1
View file @
3fce9ecd
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
<p>${int(float(cur_rating)*10)}% <img src="${srRoot}/images/heart.png"></p>
<p>${int(float(cur_rating)*10)}% <img src="${srRoot}/images/heart.png"></p>
<i>${cur_votes} votes</i>
<i>${cur_votes} votes</i>
<div class="traktShowTitleIcons">
<div class="traktShowTitleIcons">
<a href="${srRoot}/addShows/addShowByID?indexer_id=${cur_result['imdb_tt']}&show_name=${cur_result['name']}&indexer=IMDB" class="btn btn-xs" data-no-redirect>Add Show</a>
<a href="${srRoot}/addShows/addShowByID?indexer_id=${cur_result['imdb_tt']}&show_name=${cur_result['name']
| u
}&indexer=IMDB" class="btn btn-xs" data-no-redirect>Add Show</a>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
gui/slick/views/trendingShows.mako
+
1
−
1
View file @
3fce9ecd
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<p>${int(cur_show['show']['rating']*10)}% <img src="${srRoot}/images/heart.png"></p>
<p>${int(cur_show['show']['rating']*10)}% <img src="${srRoot}/images/heart.png"></p>
<i>${cur_show['show']['votes']} votes</i>
<i>${cur_show['show']['votes']} votes</i>
<div class="traktShowTitleIcons">
<div class="traktShowTitleIcons">
<a href="${srRoot}/addShows/addShowByID?indexer_id=${cur_show['show']['ids']['tvdb']}&show_name=${cur_show['show']['title']}" class="btn btn-xs" data-no-redirect>Add Show</a>
<a href="${srRoot}/addShows/addShowByID?indexer_id=${cur_show['show']['ids']['tvdb']}&show_name=${cur_show['show']['title']
| u
}" class="btn btn-xs" data-no-redirect>Add Show</a>
% if blacklist:
% if blacklist:
<a href="${srRoot}/addShows/addShowToBlacklist?indexer_id=${cur_show['show']['ids']['tvdb'] or cur_show['show']['ids']['tvrage']}" class="btn btn-xs">Remove Show</a>
<a href="${srRoot}/addShows/addShowToBlacklist?indexer_id=${cur_show['show']['ids']['tvdb'] or cur_show['show']['ids']['tvrage']}" class="btn btn-xs">Remove Show</a>
% endif
% endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment