Project

General

Profile

Feature #12933

Code cleanup -- rename templates appropriately

Added by Marc Mengel over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
06/15/2016
Due date:
12/31/2016
% Done:

100%

Estimated time:
Scope:
Internal
Experiment:
-
Stakeholders:
Duration: 200

Description

We need to rename our templates to line up with the URL's, so they're
easier to find.

Associated revisions

Revision c5e90e82 (diff)
Added by Marc Mengel about 4 years ago

Great Template Renaming resolves #12933

History

#1 Updated by Marc Mengel about 4 years ago

  • Assignee set to Marc Mengel

Starting on this, as it's an obvious code cleanup.

#2 Updated by Marc Mengel about 4 years ago

So a worklist is:

def index(self):
template = self.jinja_env.get_template('service_statuses.html')
def list_generic(self, classname):
template = self.jinja_env.get_template('list_screen.html')
def edit_screen_for( self, classname, eclass, update_call, primkey, primval, valmap):
template = self.jinja_env.get_template('edit_screen.html')
def show_task_jobs(self, task_id, tmax = None, tmin = None, tdays = 1 ):
template = self.jinja_env.get_template('job_grid.html')
def show_campaigns(self,tmin = None, tmax = None, tdays = 1):
template = self.jinja_env.get_template('campaign_grid.html')
def campaign_time_bars(self, campaign_id, tmin = None, tmax = None, tdays = 1):
template = self.jinja_env.get_template('campaign_bars.html')
def failed_jobs_by_whatever(self, tmin = None, tmax = None, tdays = 1 , f = [], go = None):
template = self.jinja_env.get_template('job_count_table.html')
def kill_jobs(self, campaign_id=None, task_id=None, job_id=None, confirm=None):
template = self.jinja_env.get_template('confirm_kill_jobs.html')
template = self.jinja_env.get_template('killed_jobs.html')
def launch_jobs(self, campaign_id, dataset_override = None, parent_task_id = None):
template = self.jinja_env.get_template('launched_jobs.html')
def search_tags(self, q):
template = self.jinja_env.get_template('tag_table.html')
def jobs_eff_histo(self, campaign_id, tmax = None, tmin = None, tdays = 1 ):
template = self.jinja_env.get_template('job_histo.html')
def schedule_launch(self, campaign_id ):
template = self.jinja_env.get_template('campaign_launch_schedule.html')

#3 Updated by Marc Mengel about 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#4 Updated by Anna Mazzacane almost 4 years ago

  • Due date set to 12/31/2016

#5 Updated by Anna Mazzacane almost 4 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF