[FIX] PMS: Changed name of field in form and heading
This commit is contained in:
@@ -40,6 +40,8 @@ def login_required(view_func):
|
||||
def wrapped_view(request, *args, **kwargs):
|
||||
path = request.path
|
||||
res = path.split('/', 2)[1].capitalize().replace('-',' ').upper()
|
||||
if res =='PMS':
|
||||
res ="Performance"
|
||||
request.session['title'] = res
|
||||
if path == '' or path == '/':
|
||||
request.session['title'] = 'Dashboard'.upper()
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<div class="oh-onboarding-card__address-group">
|
||||
<h2 class="oh-onboarding-card__section-title">{% trans "Feedback" %}</h2>
|
||||
<div class="oh-input__group ">
|
||||
<label class="oh-input__label" for="objective">{% trans "Review Cycle" %}</label>
|
||||
<label class="oh-input__label" for="objective">{% trans "Title" %}</label>
|
||||
{{feedback_form.review_cycle}}
|
||||
{{feedback_form.review_cycle.errors}}
|
||||
</div>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<main :class="sidebarOpen ? 'oh-main__sidebar-visible' : ''">
|
||||
<section class="oh-wrapper oh-main__topbar" x-data="{searchShow: false}">
|
||||
<div class="oh-main__titlebar oh-main__titlebar--left">
|
||||
<h1 class="oh-main__titlebar-title fw-bold">{% trans "Objectives" %} </h1>
|
||||
<h1 class="oh-main__titlebar-title fw-bold">{% trans "Objective Key Results (OKR)" %} </h1>
|
||||
<a class="oh-main__titlebar-search-toggle" role="button" aria-label="Toggle Search"
|
||||
@click="searchShow = !searchShow">
|
||||
<ion-icon name="search-outline" class="oh-main__titlebar-serach-icon"></ion-icon>
|
||||
|
||||
Reference in New Issue
Block a user