def METHOD_NAME(self, context):
    event = self.event.resolve(context)
    url = self.url.resolve(context)
    body = self.nodelist.METHOD_NAME(context)
    if all([fn not in event.settings._cache() for fn in self.field_names]):
        body = """
        <div class="propagated-settings-box locked panel panel-default">
            <div class="panel-heading">
                <input type="hidden" name="_settings_ignore" value="{fnames}">
                <input type="hidden" name="decouple" value="">
                <button type="button" class="btn btn-default pull-right btn-xs" value="{fnames}" data-action="unlink">
                    <span class="fa fa-unlock"></span> {text_unlink}
                </button>
                <h4 class="panel-title">
                    <span class="fa fa-lock"></span> {text_inh}
                </h4>
            </div>
            <div class="panel-body help-text">
                {text_expl}<br>
                <a href="{url}" target="_blank" class="btn btn-default">
                    {text_orga}
                </a>
            </div>
            <div class="panel-body propagated-settings-form">
                {body}
            </div>
        </div>
        """.format(
            body=body,
            text_inh=_("Currently set on organizer level") if isinstance(event, Event) else _('Currently set on global level'),
            fnames=','.join(self.field_names),
            text_expl=_(
                'These settings are currently set on organizer level. This way, you can easily change them for '
                'all of your events at the same time. You can either go to the organizer settings to change them for all your events '
                'or you can unlock them to change them for this event individually.'
            ) if isinstance(event, Event) else _(
                'These settings are currently set on global level. This way, you can easily change them for '
                'all organizers at the same time. You can either go to the global settings to change them for all your organizers '
                'or you can unlock them to change them for this event individually.'
            ),
            text_unlink=_('Unlock'),
            text_orga=_('Go to organizer settings') if isinstance(event, Event) else _('Go to global settings'),
            url=url
        )
    return body