-
Notifications
You must be signed in to change notification settings - Fork 14k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* move slice header to partial, show datasource in slice title area if no slice is saved * change partial name, and use same styling as slice title * use jinja style guide spacing rule * use [datasource] - untitled
- Loading branch information
Alanna Scott
authored
Aug 25, 2016
1 parent
30071ee
commit 36a6714
Showing
2 changed files
with
31 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{% if slice %} | ||
{% if slice.slice_name %} | ||
<h2> | ||
{{ slice.slice_name }} | ||
<small class="star-edit-icons"> | ||
<span class="favstar" obj_id="{{ slice.id }}"></span> | ||
<span> | ||
<a | ||
href="/slicemodelview/edit/{{ slice.id }}" | ||
data-toggle="tooltip" | ||
title="Edit Description" | ||
class="edit-slice-description-icon" | ||
> | ||
{% if slice.description %} | ||
<i | ||
class="fa fa-question-circle-o" | ||
data-toggle="tooltip" | ||
data-placement="bottom" | ||
title="{{ slice.description }}"> | ||
</i> | ||
{% endif %} | ||
<i class="fa fa-edit"></i> | ||
</a> | ||
</span> | ||
</small> | ||
</h2> | ||
{% endif %} | ||
{% else %} | ||
<h2>[{{ viz.datasource.table_name }}] - untitled</h2> | ||
{% endif %} |