+% if ( $self->can('_export_path') && glob $self->_export_path('*') ) {
+·
+<a href="<%= url_for( controller => 'data', action => 'export', id => 0 ) %>">export</a>
+% }
+
+·
+<a id=code href="<%= url_for( controller => 'code', action => 'index', id => 0 ) %>">code</a>
+<a id=console href="#" style="display:none">console</a>
+
+% if ( my $id = stash('nytprof.id') ) {
+·
+<a href="<%= url_for( controller => 'profile', action => 'index', id => 0 ) %>">profile</a>
+% }
+
+<span class=middle>
+</span>
+
+<span class=right>
+
+<a href="<%= url_for( controller => 'config', action => 'index', id => 0 ) %>">config</a>
+·
+
+<a href="<%= url_for( controller => 'changes', action => 'index', id => 0 ) %>">changes</a>
+<a href="<%= url_for( controller => 'actions', action => 'index', id => 0 ) %>">actions</a>
+
+% my $visible_class = session('modified') ? '' : 'hide';
+% my $path = session('path');
+<span class="save_actions <%= $visible_class %>">
+·
+<a title="<%= $path %>" href="<%= url_for( controller => 'data', action => 'save' ) %>" >save</a>
+</span>
+
+</span>
+