Commit 76ac64b5 authored by bigflybrother's avatar bigflybrother Committed by Jared Tan

sort (#2705)

parent 8996d3da
...@@ -102,7 +102,11 @@ ...@@ -102,7 +102,11 @@
<table class="table table-bordered table-striped table-hover"> <table class="table table-bordered table-striped table-hover">
<thead> <thead>
<tr> <tr>
<th>{{'Component.Namespace.Branch.Body.PublishState' | translate }}</th> <th class="hover" title="{{'Component.Namespace.Branch.Body.ItemSort' | translate }}"
ng-click="col='item.dataChangeLastModifiedTime';desc=!desc;">
{{'Component.Namespace.Branch.Body.PublishState' | translate }}
<span class="glyphicon glyphicon-sort"></span>
</th>
<th class="hover" title="{{'Component.Namespace.Branch.Body.ItemSort' | translate }}" <th class="hover" title="{{'Component.Namespace.Branch.Body.ItemSort' | translate }}"
ng-click="col='item.key';desc=!desc;"> ng-click="col='item.key';desc=!desc;">
{{'Component.Namespace.Branch.Body.ItemKey' | translate }}&nbsp; {{'Component.Namespace.Branch.Body.ItemKey' | translate }}&nbsp;
......
...@@ -223,7 +223,11 @@ ...@@ -223,7 +223,11 @@
<table class="table table-bordered table-striped table-hover"> <table class="table table-bordered table-striped table-hover">
<thead> <thead>
<tr> <tr>
<th>{{'Component.Namespace.Master.Items.Body.PublishState' | translate }}</th> <th class="hover" title="{{'Component.Namespace.Master.Items.Body.Sort' | translate }}"
ng-click="col='item.dataChangeLastModifiedTime';desc=!desc;">
{{'Component.Namespace.Master.Items.Body.PublishState' | translate }}
<span class="glyphicon glyphicon-sort"></span>
</th>
<th class="hover" title="{{'Component.Namespace.Master.Items.Body.Sort' | translate }}" <th class="hover" title="{{'Component.Namespace.Master.Items.Body.Sort' | translate }}"
ng-click="col='item.key';desc=!desc;"> ng-click="col='item.key';desc=!desc;">
{{'Component.Namespace.Master.Items.Body.ItemKey' | translate }}&nbsp; {{'Component.Namespace.Master.Items.Body.ItemKey' | translate }}&nbsp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment