mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add a newline before read capabilities.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2017-06-05 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
|
* ViewReport.aspx:
|
||||||
|
* ViewReport.aspx.cs: Add a newline before read capabilities.
|
||||||
|
|
||||||
2017-06-05 Natalia Portillo <claunia@claunia.com>
|
2017-06-05 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
* Ata.cs:
|
* Ata.cs:
|
||||||
|
|||||||
@@ -48,6 +48,7 @@
|
|||||||
<i><asp:Label runat="server" Text='<%# Eval("key") %>' /></i>: <asp:Label runat="server" Text='<%# Eval("value") %>' /><br/>
|
<i><asp:Label runat="server" Text='<%# Eval("key") %>' /></i>: <asp:Label runat="server" Text='<%# Eval("value") %>' /><br/>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:Repeater>
|
</asp:Repeater>
|
||||||
|
<br/>
|
||||||
<asp:Repeater ID="repAtaOne" runat="server">
|
<asp:Repeater ID="repAtaOne" runat="server">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<%# Container.DataItem?.ToString() ?? string.Empty%><br/>
|
<%# Container.DataItem?.ToString() ?? string.Empty%><br/>
|
||||||
|
|||||||
@@ -351,6 +351,8 @@ namespace DiscImageChef.Server
|
|||||||
else if(report.SCSI.ReadCapabilities != null)
|
else if(report.SCSI.ReadCapabilities != null)
|
||||||
{
|
{
|
||||||
removable = false;
|
removable = false;
|
||||||
|
scsiOneValue.Add("");
|
||||||
|
|
||||||
if(report.SCSI.ReadCapabilities.BlocksSpecified && report.SCSI.ReadCapabilities.BlockSizeSpecified)
|
if(report.SCSI.ReadCapabilities.BlocksSpecified && report.SCSI.ReadCapabilities.BlockSizeSpecified)
|
||||||
{
|
{
|
||||||
scsiOneValue.Add(string.Format("Device has {0} blocks of {1} bytes each", report.SCSI.ReadCapabilities.Blocks, report.SCSI.ReadCapabilities.BlockSize));
|
scsiOneValue.Add(string.Format("Device has {0} blocks of {1} bytes each", report.SCSI.ReadCapabilities.Blocks, report.SCSI.ReadCapabilities.BlockSize));
|
||||||
|
|||||||
Reference in New Issue
Block a user