WIP: Refactor study description

This WIP pull request is breaking up the study description handler in multiple UI modules, as well as breaking up the study handlers file to be hosted on multiple files for easy edition.

I still need to decompose the post of the study handler in multiple post-only handlers that will help to maintain the page.

Feel free to make any comment if you feel that there is something really wrong.
meh, just leave as is I guess

On Fri, Dec 12, 2014 at 3:11 PM, josenavas <notifications@github.com> wrote:

> In qiita_pet/templates/raw_data_editor_tab.html
> <https://github.com/biocore/qiita/pull/711#discussion-diff-21776834>:
>
> > +
> > +      <!-- Files linked to the raw data -->
> > +      <td style="vertical-align:top;padding:10px;">
> > +        <h4>Linked files to this raw data</h4>
> > +          {% if is_editable and r.get_filepaths() and r.link_filepaths_status not in {'linking', 'unlinking'} %}
> > +            <a class="btn btn-danger" onclick="unlink_all_files({{raw_data_id}})">Unlink all files</a><br/>
> > +          {% end %}
> > +          {% if r.link_filepaths_status == 'linking' %}
> > +            <i><b style="color:red">Linking files...</b></i><br/>
> > +          {% elif r.link_filepaths_status == 'unlinking' %}
> > +            <i><b style="color:red">Unlinking files...</b></i><br/>
> > +          {% elif r.link_filepaths_status.startswith('failed') %}
> > +            <i><b style="color:red">Error (un)linking files: {{r.link_filepaths_status}} </b></i><br/>
> > +          {% end %}
> > +        {% for fpid, f, t in r.get_filepaths() %}
> > +            <i>{{basename(f)}}:</i> {{t[4:]}} <br/>
>
> Same question as before [image: :stuck_out_tongue:]
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/biocore/qiita/pull/711/files#r21776834>.
>