ListFindPeople: Two more UX enhancements

This commit is contained in:
Rick Falkvinge
2014-10-02 23:13:21 +02:00
parent 628358ed82
commit 3c66953e4a
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -118,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="ListFindPeople_Info" xml:space="preserve">
<value>Find people in the organization (write more here)</value>
<value>Use this to find people in the organization. You can search by geography and by name pattern ("Jo S" will match Joel Sander).</value>
</data>
<data name="ListFindPeople_MatchingPeopleInX" xml:space="preserve">
<value>Matching People in {0}</value>
+4 -1
View File
@@ -53,6 +53,9 @@
$('#TableSearchResults').datagrid(
{
onLoadSuccess: function () {
$("#spanHitCount").text($(this).datagrid('getRows').length);
$(".LocalIconApproval").attr("src", "/Images/Icons/iconshock-balloon-yes-16px.png");
$(".LocalIconApproved").attr("src", "/Images/Icons/iconshock-greentick-16px.png");
$(".LocalIconApproved").css("display", "none");
@@ -175,7 +178,7 @@
<asp:Label ID="LabelGeography" runat="server" /><br/>
<asp:Label ID="LabelNamePattern" runat="server" /><br/>
</div>
<h2 style="padding-top:15px"><asp:Label ID="LabelMatchingPeopleInX" runat="server" /></h2>
<h2 style="padding-top:15px"><asp:Label ID="LabelMatchingPeopleInX" runat="server" /> (<span id="spanHitCount">0</span>)</h2>
<table id="TableSearchResults" class="easyui-datagrid" style="width:680px;height:500px"
data-options="rownumbers:false,singleSelect:false,nowrap:false,fit:false,loading:false,selectOnCheck:true,checkOnSelect:true,url:''"
idField="itemId">