File tree Expand file tree Collapse file tree 1 file changed +31
-23
lines changed
Console/BExIS.Web.Shell/Areas/DDM/BExIS.Modules.Ddm.UI/Views/Data Expand file tree Collapse file tree 1 file changed +31
-23
lines changed Original file line number Diff line number Diff line change 3434 <div >
3535 <table >
3636 <tbody >
37+ <th >Release Tag </th >
38+ <th >Release Notes </th >
39+ <th >Release Date </th >
40+ <th >Show Version </th >
3741 @foreach ( var tag in Model )
3842 {
3943 <tr id =" @tag.Version" >
4448 <div >@note </div >
4549 }
4650 </td >
51+ <td >@tag.ReleaseDate.ToString( " dd.MM.yyyy" )</td >
52+ <td ><a href =" @url&tag=@tag.Version" >Show Version </a ></td >
53+
4754 </tr >
4855 }
56+ <tr >
4957 </tbody >
5058 </table >
5159 </div >
5462
5563 <div id =" tagview" >
5664 <div >
57-
58-
59- <table >
60- <tbody >
61- @{
62- var singletag = Model .FirstOrDefault (t => t .Version == tagNr );
63-
64-
65- <tr id =" @singletag.Version" class =" selected" >
66- <td ><a href =" @url&tag=@singletag.Version" > @singletag.Version </a ></td >
67- <td >
68- @foreach ( var note in singletag .ReleaseNotes )
69- {
70- <div >@note </div >
71- }
72- </td >
73- </tr >
74- }
75- </tbody >
76- </table >
77-
65+ @{
66+ var singletag = Model .FirstOrDefault (t => t .Version == tagNr );
67+
68+ <div ><b >Release Tag : </b > @singletag.Version (@singletag .ReleaseDate .ToString (" dd.MM.yyyy" ))</div >
69+ <div ></div >
70+ <div ><b >Release Notes : </b ></div >
71+ <ul >
72+ @if (singletag .ReleaseNotes != null && singletag .ReleaseNotes .Any ())
73+ {
74+ foreach (var note in singletag .ReleaseNotes )
75+ {
76+
77+ <li >@note </li >
78+
79+
80+ }
81+ }
82+ </ul >
83+ }
7884
7985 </div >
8086
8187 </div >
8288
8389 <div >
84- <button id =" showTags" class =" bx bx-function fa-arrow-down small" onclick =" onClickFn()" ></button >
90+ <button id =" showTags" class =" bx bx-function fa-arrow-down small" onclick =" onClickFn()" > Show History </button >
91+
8592 @if (hasEditRigths )
8693 {
8794 <button id =" editTags" class =" bx bx-function fa-tag small" ></button >
140147 const element = document .getElementById (" showTags" );
141148 element .classList .toggle (" fa-arrow-up" );
142149 element .classList .toggle (" fa-arrow-down" );
143-
150+ element .innerText = element .innerText === " Show History" ? " Hide History" : " Show History" ;
151+
144152 }
145153 </script >
You can’t perform that action at this time.
0 commit comments