# UI Methods
"ui_methods" : {
- "format_asn" : self.format_asn,
"format_country_name" : self.format_country_name,
"format_language_name" : self.format_language_name,
"format_month_name" : self.format_month_name,
logging.info("Successfully initialied application")
- def format_asn(self, handler, asn):
- return util.format_asn(asn)
-
def format_country_name(self, handler, country_code):
return ipfire.countries.get_name(country_code)