feature: changes names
This commit is contained in:
parent
f7976ba198
commit
9f2d7c7e12
2 changed files with 6 additions and 4 deletions
|
|
@ -123,10 +123,12 @@ class AdminSystemInfoSettingsView(BaseAppView):
|
|||
if update_feature_available:
|
||||
update_service_state = update_service.get_state()
|
||||
if update_service_state == RcStackUpdateService.State.READY:
|
||||
update_literal = '<br/> <span class="link" id="rcstack_update" >%s.</span>' % (_("Update RcStack"))
|
||||
update_literal = '<br/> <span class="link" id="rcstack_update" >%s.</span>' % (
|
||||
_("Update Rhodecode to latest version")
|
||||
)
|
||||
else:
|
||||
update_literal = "<br/> <span>%s.</span>" % (
|
||||
_("Update in progress, please wait. You can check logs on the host machine.")
|
||||
_("Update in progress, please wait. You can check logs on the host machine")
|
||||
)
|
||||
|
||||
c.data_items = [
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ except ImportError:
|
|||
|
||||
RCSTACK_PATH_NAME = "RCSTACK_PATH"
|
||||
RCSTACK_PATH = os.environ.get(RCSTACK_PATH_NAME)
|
||||
RCSTACK_LOG = os.environ.get("RCSTACK_LOG", "./rcstack_status.log")
|
||||
RCSTACK_LOG_NAME = os.environ.get("RCSTACK_LOG_NAME", "./rcstack_status.log")
|
||||
STATUS = {"state": "ready"} # "ready" or "processing"
|
||||
|
||||
|
||||
|
|
@ -86,7 +86,7 @@ class RcstackUpdater(BaseHTTPRequestHandler):
|
|||
|
||||
rcstack = os.path.expanduser(RCSTACK_PATH)
|
||||
rcstack_dir = os.path.dirname(rcstack)
|
||||
log_path = os.path.join(rcstack_dir, RCSTACK_LOG)
|
||||
log_path = os.path.join(rcstack_dir, RCSTACK_LOG_NAME)
|
||||
|
||||
STATUS["state"] = "processing"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue