Modifiche utente base (solo in view)
This commit is contained in:
@@ -56,7 +56,7 @@ namespace WebWindowComplex
|
||||
/// Livello di accesso (utente base)
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public bool baseUser { get; set; } = false!;
|
||||
public bool BaseUser { get; set; } = false!;
|
||||
|
||||
/// <summary>
|
||||
/// Classe override css x SVG (x rescale)
|
||||
@@ -241,8 +241,8 @@ namespace WebWindowComplex
|
||||
if (m_CurrWindow != null && m_CurrWindow.AreaList != null && m_CurrWindow.AreaList.Count > 0)
|
||||
{
|
||||
checkWarnings();
|
||||
if (SashGroupList.Count > 0)
|
||||
currAntaIndex = 0;
|
||||
//if (SashGroupList.Count > 0)
|
||||
// currAntaIndex = 0;
|
||||
if (updRequested)
|
||||
{
|
||||
// se mancasse dizionario forme chiamo quello
|
||||
@@ -314,7 +314,7 @@ namespace WebWindowComplex
|
||||
|
||||
private static Logger Log = LogManager.GetCurrentClassLogger();
|
||||
|
||||
private int currAntaIndex = 0;
|
||||
//private int currAntaIndex = 0;
|
||||
|
||||
private int currFillIndex = -1;
|
||||
|
||||
@@ -1404,8 +1404,8 @@ namespace WebWindowComplex
|
||||
prevHardware[i] = SashGroupList.ElementAt(i).SelHardware;
|
||||
}
|
||||
}
|
||||
if (SashGroupList.Count > 0)
|
||||
currAntaIndex = 0;
|
||||
//if (SashGroupList.Count > 0)
|
||||
// currAntaIndex = 0;
|
||||
// Aggiorno window con dati shape e hw option
|
||||
UpdateDict();
|
||||
}
|
||||
@@ -2290,6 +2290,21 @@ namespace WebWindowComplex
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Metodo per traduzione in lingua corrente
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
/// <returns></returns>
|
||||
private string Traduci(string lemma)
|
||||
{
|
||||
string ans = lemma;
|
||||
if (Vocabulary != null && Vocabulary.ContainsKey(lemma))
|
||||
{
|
||||
ans = Vocabulary.GetValueOrDefault(lemma) ?? "";
|
||||
}
|
||||
return ans;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user