diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index 0838f5f2..f66d60a0 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -268,7 +268,7 @@

- Attempt to fix updating by resetting your Tautulli installation to the latest "${config['git_remote']}/${config['git_branch']}" branch.
+ Attempt to fix updating by resetting your Tautulli installation back to ${common.RELEASE}.
Note: This will not affect any saved history data or settings.

@@ -2169,7 +2169,8 @@ $(document).ready(function() { }); $("#reset_git_install").click(function () { - var msg = 'Are you sure you want to reset your Tautulli installtion?

Tautulli will restart.'; + var msg = 'Are you sure you want to reset your Tautulli installtion back to ${common.RELEASE}?' + + '

Tautulli will restart.'; $('#confirm-message').html(msg); $('#confirm-modal').modal(); $('#confirm-modal').one('click', '#confirm-button', function () { diff --git a/plexpy/webserve.py b/plexpy/webserve.py index 45e84604..a1ca3f39 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -3922,7 +3922,8 @@ class WebInterface(object): @cherrypy.expose @requireAuth(member_of("admin")) def reset_git_install(self, **kwargs): - return self.do_state_change('reset', 'Resetting Git Install', 120) + + return self.do_state_change('reset', 'Resetting to {}'.format(common.RELEASE), 120) @cherrypy.expose @requireAuth(member_of("admin"))