Show template for container and list inside container

hi ,
my requirement is to display different outputs when we do show on container and list.
following is my yang module.

container top{
    list info{
////
}
}

and im annotating both the list and container like this.

tailf:annotate "/top"{
tailf:cli-show-template " this is inside container";
}
tailf:annotate "/top/info"{
tailf:cli-show-template  " this is inside list";
}

but the problem is here is when ever i do show on my container im getting the output of list not he container
i.e…

show top
this is inside llist

please suggest any way to achieve above functionality.

Probably more annotations need to be used. I have tested following yang:

module show_container {
    namespace "http://tail-f.com/ns/example/show_container";
    prefix sc;

    import tailf-common {
        prefix tailf;
    }

    container top {
        tailf:cdb-oper;
        config false;
        tailf:cli-show-template " this is inside container\n$(info|show)\n";
        list info {
            config false;
            tailf:cli-suppress-table;
            tailf:cli-suppress-mode;
            tailf:cli-show-template  " this is inside list\n";
            key name;
            leaf name {
                type string;
            }
        }
    }
}

(The first show template needs $(info|show), otherwise it will not step down to list. Also new lines have to be handled in list. Second template does not print any values - can be fixed with e.g. " this is inside list $(name)\n";)

the CLI output looks like:

# show top     
 this is inside container
 this is inside list
 this is inside list
 this is inside list
 this is inside list
 this is inside list
 this is inside list
 this is inside list
 this is inside list
 this is inside list
 this is inside list
# show top info 
 this is inside list
 this is inside list
 this is inside list
 this is inside list
 this is inside list
 this is inside list
 this is inside list
 this is inside list
 this is inside list
 this is inside list

Loaded config (with confd_load -m -l -C oper_config.xml)

oper_cofig.xml file:

<config xmlns="http://tail-f.com/ns/config/1.0">
    <top xmlns="http://tail-f.com/ns/example/show_container">
        <info>
            <name>1_name</name>
        </info>
        <info>
            <name>2_name</name>
        </info>
        <info>
            <name>3_name</name>
        </info>
        <info>
            <name>4_name</name>
        </info>
        <info>
            <name>5_name</name>
        </info>
        <info>
            <name>6_name</name>
        </info>
        <info>
            <name>7_name</name>
        </info>
        <info>
            <name>8_name</name>
        </info>
        <info>
            <name>9_name</name>
        </info>
        <info>
            <name>10_name</name>
        </info>
    </top>
</config>