<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" >Hello,</div>
<div dir="ltr" > </div>
<div dir="ltr" >When we designed the architecture for the angular work, we had extension in mind. We have pretty good support for extending a workflow (see links below). We have a bunch of patches that when put together will do what you want, but no guide on how to do it. The documentation in Horizon is stalling because some of us prefer to nit pick then see any real progress.</div>
<div dir="ltr" > </div>
<div dir="ltr" ><a href="https://review.openstack.org/#/c/252014/" >https://review.openstack.org/#/c/252014/</a></div>
<div dir="ltr" >This patch allows you to declare your columns inside of a controller instead of the HTML. It doesn't get you where you want yet, it still requires you to modify a static file.</div>
<div dir="ltr" > </div>
<div dir="ltr" ><a href="https://review.openstack.org/#/c/214306/" >https://review.openstack.org/#/c/214306/</a></div>
<div dir="ltr" >This patch has already merged so it is available now. It allows you to arbitrarily inject your plugin/extension into a container. See video below on how to use it for a workflow. This same architecture can be applied to table columns.</div>
<div dir="ltr" > </div>
<div dir="ltr" >Basically, most of what you want is there, but not currently documented. Currently, you will need do a bit more work on your end to get it working. Feel free to reach out to me on IRC (tqtran) or email (tqtran@us.ibm.com) if you are stuck somewhere.</div>
<div dir="ltr" > </div>
<div dir="ltr" >Links below provide a more detailed explanation of how to extend a workflow.</div>
<div dir="ltr" > </div>
<div dir="ltr" >Video tutorial on extending the workflow about 22 minute in:</div>
<div dir="ltr" ><a href="https://www.youtube.com/watch?v=Km99BCHfBdk" target="_blank" >https://www.youtube.com/watch?v=Km99BCHfBdk</a></div>
<div dir="ltr" > </div>
<div dir="ltr" >And the patch containing the docs for it:</div>
<div dir="ltr" ><a href="https://review.openstack.org/#/c/244407/2/doc/source/tutorials/workflow_extend.rst" target="_blank" >https://review.openstack.org/#/c/244407/2/doc/source/tutorials/workflow_extend.rst</a></div>
<div dir="ltr" > </div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: Yves-Gwenaël Bourhis <yves-gwenael.bourhis@cloudwatt.com><br>To: openstack-dev@lists.openstack.org<br>Cc:<br>Subject: Re: [openstack-dev] [horizon] Angular Views overriding<br>Date: Mon, Jan 25, 2016 7:50 AM<br> 
<div><br><font face="Default Monospace,Courier New,Courier,monospace" size="2" >Le 25/01/2016 12:27, Yves-Gwenaël Bourhis a écrit :<br>> Hello All,<br>><br>> I have a question regarding Horizon Angular views.<br>><br>> My question is "Is there a way (and if so "a doc") of customizing (overriding) the current angular views without modifying the current static js and html files?"<br>> With <a href="http://docs.openstack.org/developer/horizon/topics/customizing.html" target="_blank" >http://docs.openstack.org/developer/horizon/topics/customizing.html</a> people who deploy horizon can easily modify some views without touching the horizon code, but what I would like to know if there is a provided mechanism to add some company specific columns in the angular launch-instance form (I want to add the prices of an instance per flavor, plus some extra flavor specific info, plus some flavor categories, plus category tabs for the images, etc...).<br><br>s/what I would like to know if/what I would like to know is if/<br><br>> For the moment the only method I found was either to be intrusive in the horizon code, either I had to have my app come first in installed apps and have the same static path and copy + modify all the angular specific html... :-/<br>><br>> Is there a better way of doing so?<br>><br>> If not, maybe a Blue-Print could be welcomed, because it's often necessary to have deployment specific overrides of the angular views made as easy as the python/django/horizon ones.<br>><br>> Thanks all.<br>><br><br>--<br>Yves-Gwenaël Bourhis<br><br>__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank" >http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></font></div></blockquote>
<div dir="ltr" > </div></div></div><BR>